Ask Experts Questions for FREE Help !
Ask
    fakrudheenkk's Avatar
    fakrudheenkk Posts: 1, Reputation: 1
    New Member
     
    #1

    Apr 15, 2013, 09:49 AM
    Dreamweaver,jquery issue
    I am just beginning to
    Develop a website and I'm
    A newbie to web
    Development.
    I created a dreamweaver
    Template with a top level
    Navigation menu. The
    Menu was created using
    <li> and <a> with some
    Css. I used a class
    'selected' with li to make
    It seem selected.
    The jquery code:
    $("nav li").click(function
    (){
    $("nav li").removeclass();
    $(this).addclass
    ("selected");})
    Now to the problem...
    When I test the template file
    In browser, the clickd
    Menu item looks selectd. But
    After I added <a>
    Elements 'links' to some
    Other pages the 'selection'
    Is still on the first li.
    I think my question make
    Sense...
    Addtion:
    The a element is inside li
    And takes the same width
    And height of li. And if there is no
    Href to <a>,it works fine. Please help
    How to solve it
    Thanks

Check out some similar questions!

Updated files from fireworks to dreamweaver - how do you refresh in dreamweaver [ 0 Answers ]

I am using Fireworks and dreamweaver cs5. When I update a fireworks document, it does not show the updated version in dreamweaver. I keep seeing in tutorials, click the refresh button in the propertys box... but where is this refresh button located, because I don't see it. I am tired of reloading...

Ask for help dreamweaver [ 0 Answers ]

May i know how can i add another two checkbox for each category below? And make it able to calculate..Please help.. this is the code.. <html> <head> <title>Registration Main Page</title> <SCRIPT LANGUAGE="JavaScript">

Forums in Dreamweaver [ 5 Answers ]

Hi there I am updating the website at work and it has been a long time since I have done anything we but I always get calle back lol. Anyway we are using Dreamweaver MX, and I was wondering if anyone has a nice script for a forum or somewhere where I could get one it does not need to be anything...

Background in Dreamweaver. [ 1 Answers ]

Hi! I did a background on illustrator ans can not put it as a background on my page on dreamwaver... The background is saved as jpeg Help Thanks Fabby


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.