•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 427,378 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,045 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 524 | Replies: 0
![]() |
Im trying to rewrite a link with a href function. I need to parse a query string within it ('+tid')
But all attempts Have falied. The current onclick/ link function
is attached to my forums 'replys' number colum in forum veiw' {i have no direct access}
it appears in the staus bar on hover as
where '428 is the tid (topic id).
I want to write a href link to do this (elsewhere in html) and add the tid of whatever topic
the page is currently on.
see site for clarification (click the 'replies' number next to a title)
http://inny.ipbfree.com/index.php?showforum=1
click on any topic, and see a mail href link above. I want to add the who_posted function href there, so that whatever topic your on, the who posted box will work.
code is {no direct access}
But all attempts Have falied. The current onclick/ link function
<a href="javascript:who_posted();">Who Posted?</a>
is attached to my forums 'replys' number colum in forum veiw' {i have no direct access}
it appears in the staus bar on hover as
<a href="javascript:who_posted(428);">Who Posted?</a>
where '428 is the tid (topic id).
I want to write a href link to do this (elsewhere in html) and add the tid of whatever topic
the page is currently on.
see site for clarification (click the 'replies' number next to a title)
http://inny.ipbfree.com/index.php?showforum=1
click on any topic, and see a mail href link above. I want to add the who_posted function href there, so that whatever topic your on, the who posted box will work.
code is {no direct access}
<script language='javascript' type="text/javascript">
<!--
function who_posted(tid)
{
window.open("http://inny.ipbfree.com/index.php?s=&act=Stats&CODE=who&t="+tid, "WhoPosted", "toolbar=no,scrollbars=yes,resizable=yes,width=230,height=300");
}
//-->
</script> Always carry a flagon of whiskey in case of snakebite and furthermore always carry a small snake.
W. C. Fields
W. C. Fields
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- iframe height (HTML and CSS)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: tag id after ajax call not visible by js
- Next Thread: javascript stylesheet switcher code...anyone know?


Linear Mode