June 20th, 2002, 04:25 AM
-
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
June 22nd, 2002, 09:42 AM
-
June 23rd, 2002, 10:16 PM
-
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