#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Posts
    1
    Rep Power
    0

    Question using a css to call a javascript


    In a fairly complicated web app using the weblogic application server and jsp, I would like to use a javascript to rewrite an url address that the webapp is writing in using the root of the app thereby disabling the anchors I need to place in the pages.
    I would like to redifine the <a> tag with a css that would call up a javascript to rewrite the address so that the anchors will work.

    Remember it's the css that calls a javascript and not the inverse.
    I can't hardcode a javascript into the pages as they are jsp dynamically generated.

    Thanks for any help in this matter.


    JED
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Posts
    21
    Rep Power
    0
    any example?
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2002
    Location
    Copenhagen, Denmark
    Posts
    3
    Rep Power
    0
    Try to explain yourself a little more ... and use a little more punctuation, please

    One thing for sure: CSS is not a scripting language and will never call a JavaScript for you.

    /best regards

IMN logo majestic logo threadwatch logo seochat tools logo