Welcome Guest, Not a member yet? Register   Sign In
OnClick with popup
#1

[eluser]frietkot[/eluser]
Hi,

I want to make a div with onClick and the popup function from the url helper.
This is what I've got:
Code:
onClick="window. location. href='<?=anchor_popup('news/local/123', 'Click Me!')?>';"

but that's not working and it only prints out html data like this:
Code:
Click Me!';" onMouseOver="style.backgroundColor='#EEEEEE';" onMouseOut="style.backgroundColor='#FFFFFF'" style="cursor: pointer;">

What am I doing wrong and what is the solution?


Messages In This Thread
OnClick with popup - by El Forum - 10-13-2008, 02:49 PM
OnClick with popup - by El Forum - 10-13-2008, 03:13 PM
OnClick with popup - by El Forum - 10-14-2008, 04:39 AM
OnClick with popup - by El Forum - 10-14-2008, 04:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB