SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2008
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rollovers no longer work when elclosed in a DIV tag

    Hi

    I have created a navigation bar with rollover buttons in ImageReady CS2.
    I exported the navigation bar using Save Optimized As and chose to include Images and HTML.

    When I copy the table containing the navigation bar into my other webpages who's content is
    made up of a table enclosed in a div tag, the Rollovers no longer work.
    Can someone please offer any suggestions as to why this is happening!

    Regadrs Max

  2. #2
    Guru in training bronze trophy SoulScratch's Avatar
    Join Date
    Apr 2006
    Location
    Maryland
    Posts
    1,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry but I'm not a psychic, so I can't go in your head and find out what code you used. Please provide a link to the code or the actual page itself.

  3. #3
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    The rollovers are made to work beacuse of some javascript that imageready would have crated too. You'll need to include the relevant code from the original for the other web pages to work.

    I suggest that you save the relevant code out to an external script file and reference that from the web pages.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


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
  •