Forums / Templates, Stylesheets, Page Layout / Index page: Would you like to <a href="%s"> log yourself in....Change to javascript

Index page: Would you like to <a href="%s"> log yourself in....Change to javascript

Locked

Started by dharma on 29 Feb 2008, 11:08 PM · Views: 1,615

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
29 Feb 2008, 11:08 PM
#1
dharma avatar

dharma

Totally Zenned

Join Date:
Nov 2006
Posts:
505
Plugin Contributions:
0

Index page: Would you like to <a href="%s"> log yourself in....Change to javascript

I need to change this:
define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');

<a href="%s">

to javascript :

 <a href="javascript:;" onClick="PopPlayer('pop_player.html','popMP3player','width=572,height=280,resizable=Yes')"><img src="images/sound.gif" alt="Launch Player"></a>

the ' doesn't work on the index php page, I have tried replace the ' with " but it still won't work...:frusty:

Does anyone know how to allow this javascript command on this php page?

is there a workaround?

Zencart 1.3.9h - PHP 5.2.13 - My SQL 5.0.84 - Apache 1.3.41