Home : Products : Links 2.0 : Customization :

Products: Links 2.0: Customization: Re: [robinantill] Url on Links instead of jump.cgi: Edit Log

Here is the list of edits for this post
Re: [robinantill] Url on Links instead of jump.cgi
there may be an error in the code for the referenced post. Depends on how your links.def reads.

Code:
$output = qq|
<ul type=disc><li><$font><a href="$build_jump_url?$db_key=$rec{$db_key}"
onMouseOver="window.status='$rec{'url'}'; return true">$rec{'Title'}</a></font>|;




$output = qq|
<ul type=disc><li><$font><a href="$build_jump_url?$db_key=$rec{$db_key}"
onMouseOver="window.status='$rec{'URL'}'; return true">$rec{'Title'}</a></font>|;


and you may want to add the onmouseout to clear the status bar

Code:
$output = qq|
<ul type=disc><li><$font><a href="$build_jump_url?$db_key=$rec{$db_key}"
onMouseOver="status='<%URL%>'; return true" onMouseOut="status=''; return true">
$rec{'Title'}</a></font>|;


and couldn't you do something like the following:

Code:
$output = qq|
<ul type=disc><li><$font><a href="$build_jump_url?$db_key=$rec{$db_key}"
onMouseOver="status='<%URL%>'; return true" onMouseOut="status='';
return true">$rec{'Title'}</a></font><a href="<%URL%>"></a>|;


the first a href would be clickable and the jump would still record the hit while the second a href would appear in the html but would not be clickable.

but then maybe I should have a cup of coffee this morning before I try to do any serious thinking. Unsure


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."

Last edited by:

esm: Jan 30, 2003, 4:06 AM

Edit Log: