/    Sign up×
Community /Pin to ProfileBookmark

link within a link?

The link i have for a rollover is a javascript popup window.
(some PHP in there, its generated from MySQL)

[b]<A HREF=”javascript:void(0)” ONCLICK=”open(‘list.php?p=<? print(“$id”); ?>’,’product’,’toolbar=1,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=0,width=640,height=430′)” onmouseover = “document.all.test.innerHTML=’This is the description’; document.all.test2.innerHTML=’This is the description2′; document.all.link.href=’************’;” title=”Click for more information.”><? print(“$title”); ?></a>[/b]

What i need is where those stars are, i need the the same link as it is in already (

[b]“javascript:void(0)” ONCLICK=”open(‘list.php?p=<? print(“$id”); ?>’,’product’,’toolbar=1,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=0,width=640,height=430′)”[/b]

)

But how can i arrange it so i can get that into the description but not chuck out errors?

Thanks in advance ?

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @itheperson spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...