Results 1 to 4 of 4

Thread: Browser Problem

  1. #1
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Question Browser Problem

    I frogot to include a bit of script into my pages because I am doing everything externally. The script I frogot to include is:


    <!--[if lte IE 7]><style type="text/css">html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/</style><![endif]-->

    I have now incorporated it onto one page now to show where I frogot to have it included, found at:

    http://www.robinsden.110mb.com/opening.html

    The browser issue I seem to be having, I am not excperincing my self because my browsers are to new. But others have told me I have problems with my menu not displaying right so I need to resolve this issue for those users. One such user told me they were using Fire Fox 2

    My question is can I and if so how do I place that script into my
    jqueryslidemenu.js script found at the following address below so that I don't need to hand code it into every page already done.

    http://www.robinsden.110mb.com/menus...ryslidemenu.js

    One page I have made no updates to thus not working correctly for those individual users is below this. The problem is the menu all of it ends up to the left side of the screen.

    http://www.robinsden.110mb.com/servi...ter/rates.html

    Thanks for the help.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    This is not a script:

    Code:
    <!--[if lte IE 7]><style type="text/css">html .jqueryslidemenu{height: 1%;} /*Holly Hack for IE7 and below*/</style><![endif]-->
    and has no effect on FF browsers.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Feb 2009
    Posts
    159
    Thanks
    60
    Thanked 3 Times in 3 Posts

    Question

    Sorry I was under the impression it was. Ok so I believe you because I know that you know what your talking about but, do you have any idea how I can fix the browser problem people are telling me they are experincing with my menu? And can I include the bug fix in one of my external javascripts.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    In future, please post about Dynamic Drive Scripts in the Dynamic Drive Scripts Help section here where I've moved this thread, and:

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.


    That's an IE conditional comment which contains an on page stylesheet which contains the 'Holly Hack'. Since the conditional is 'lte IE 7', it means that only IE versions 5 through 7 will even look at it. If you have a valid URL DOCTYPE (as it appears that you do), IE 7, and possibly 6 probably don't need it either, and might even be harmed by it. Hacks are bad because they often mess things up. But as I say, only certain versions of IE will even look at it, so FF and others would be unaffected by it, seeing it only as an HTML comment block.

    You could put it in a script using document.write, but I would want a link to the demo page of the script on dynamic drive to be sure of optimal placement.

    Now, the closest thing I have handy to FF 2 is NS 7. And I see in that outdated browser that the menu bunches up on the left side with the little arrow images being on the right side. I'm not sure if there is an easy fix for that or not, or if it is even the same problem that someone with FF 2 (also outdated) would see. My advice would be to tell them to update to FF 3.
    Last edited by jscheuer1; 02-12-2009 at 12:49 PM. Reason: spelling
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. The Following User Says Thank You to jscheuer1 For This Useful Post:

    robin9000 (02-12-2009)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •