|
Author |
Message |
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Tue Jun 17, 2003 1:09 pm (20 years, 10 months ago) |
|
This is kind of silly, but I seem to remember that there was an alternative to <a href="#"> (mainly for links with an onclick attribute). I also remember it involving a JS function to put in there, something like <a href="javascript: something">. Basically I want the link to only open a popup, and not go to the top of the page as it does with href="#". Anyone know what I'm talking about? |
________________________________
|
|
|
|
Darren
Team Member
Joined: 05 Feb 2002
Posts: 549
Location: London
|
Posted:
Tue Jun 17, 2003 2:39 pm (20 years, 10 months ago) |
|
<a href="javascript:onclick=popupFunction();">
That seems to work OK - not sure of its compatibility though. |
|
|
|
|
Darren
Team Member
Joined: 05 Feb 2002
Posts: 549
Location: London
|
Posted:
Tue Jun 17, 2003 3:07 pm (20 years, 10 months ago) |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Tue Jun 17, 2003 4:01 pm (20 years, 10 months ago) |
|
The first one is exactly what I don't want .
I'll try the second, which looks to be what I was looking for.
Edit: Thanks, it works perfectly! |
________________________________
|
|
|
|
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.165391 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |