Results 1 to 3 of 3

Thread: TOGGLE display block doesnt work on SAFARI

  1. #1
    Join Date
    Aug 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default TOGGLE display block doesnt work on SAFARI

    Hi
    as I am not a great expert on using lists, it took me some time to figure out how to make this script using onClick Toggle function and lists with block display.

    I was well pleased with it 'till I took the file onto my Mac System 10 and... The Horror! it doesn't work in SAFARI.
    And I need it to work for mac user on safari first and foremost.

    Can anyone help / point out why its not working (and its not even deprecating by opening the full lines of content")

    Here is the script file.
    It works with Dreamweaver 4 and IE 5 on system 9, but doesn't with Dreamweaver 8, Safari, System 10 (DW doesn't spot any code problem though)

    Please make my day I am going bananas over this. I think I am just missing a simple update / new syntax issue.

    It looks like the TOGGLE command is not recognized, is it obsolete in the way I used it??
    Cheers

  2. #2
    Join Date
    Aug 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default oops...the SCRIPT

    here is the script

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I should think it's this:
    Code:
    file://-->
    ... that's causing the problem. Remove it, and remove the matching
    Code:
    <!--
    as well. They aren't necessary.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

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
  •