[thelist] javascript conundrum...
Oliver Reid
ReidO at cbs.curtin.edu.au
Mon Oct 1 01:40:40 CDT 2001
G'Day all,
I've been working on a global navigational Javascript & I'm having some problems with the back/next components:
What I need to do is
- remove the page name from the uri.
- remove the .html suffix from the end of the file name.
- put that value into a variable.
- write the variable to a div.
eg:
1234.html
==> 1234
==> thisvariable = 1234
==> thisDiv.innerHTML = thisvariable
Any suggestions?
Thanks,
Oliver Reid
Web/Multimedia Developer
Research and Development Facility
Information Technology Services
Curtin Business School
Curtin University of Technology
Perth, Western Australia
Tel: +61 8 9266 4903
Fax: +61 8 9266 3767
More information about the thelist
mailing list