Jump to content
Killersites Community
Sign in to follow this  
pb1uk

Javascipt/jquery problem, possible conflict

Recommended Posts

Hello all,

 

I haven't really used much javascript/jquery so am just really getting started. I'm developing a site at the moment and I think i'm getting some sort of conflict.

I'm using the menu: http://www.leigeber.com/2008/11/drop-down-menu/

slideshow: http://www.serie3.info/s3slider/

and cufon replace: http://www.chris-wallace.com/2009/03/23/introducing-cufon-a-font-replacement-solution/

 

all on the same page. In firefox and chrome this works totally fine, but in IE the drop downs on the menu is so slow to drop down it makes it look terrible! Does anyone know of a fix for this or are there some issues with IE or am i simply using far too much javascript!

 

I use the cufon replace on all text on the page. When I take this off paragraphs the menus get a little faster, but not a lot.

 

Otherwise is there a some kind of dropdown menu that is cross browser compatible? When i was looking at menus all the css based ones i came across were not supported in IE.

 

Thanks for any help or advice in advance, I've been struggling on this for hours!

Share this post


Link to post
Share on other sites

+1 for Superfish. That's what I use on any of my sites that require dropdowns. The nice thing about it is that it doesn't absolutely require javascript, so the basic functionality should still work even if Javascript is turned off (and it is cross browser compatible.)

Share this post


Link to post
Share on other sites

Thanks, i'll give it a try.

 

In a kind of sub question. In IE when my page loads i get a little message at the top of the browser that says:

 

'To help protect your security, Internet Explorer has restricted this page from running script or ActiveX controls that could access your computer. Click here for options...'

 

Is there anything to stop this happening so the javascript runs without this coming up?

Share this post


Link to post
Share on other sites

Normal Javascript shouldn't create that message. Without looking at the page I can't tell you much about this. If you have an online draft page then post a link here. Can also have a look in terms of performance issues etc you mentioned on the original post.

Share this post


Link to post
Share on other sites

Normal Javascript shouldn't create that message. Without looking at the page I can't tell you much about this. If you have an online draft page then post a link here. Can also have a look in terms of performance issues etc you mentioned on the original post.

 

Thanks, I should have it up in a week or two.

 

I've read up a bit on the message i was getting and apparently it was because I was opening the page from my hard drive. If i open it from xampp (http://localhost/etc) the message doesn't come up, which is encouraging! I'm going to give the above menu suggestion a try so fingers crossed there won't be a conflict

Share this post


Link to post
Share on other sites

apparently it was because I was opening the page from my hard drive.

Yeah, that happens if you open up a local file like that in IE. It should disappear when you upload the files to your web hosting and view the files online.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×