Guest Posted January 25, 2009 Share Posted January 25, 2009 Hi everyone. Hope you can help me. I want to create a small popup window in a link on a page. I would like to put that popup script into the define text string but i end up in trouble with the ' character. I am trying to do something like this: define('TEXT_INFORMATION', ' <a href="java script:window.open('http://www.testdomain.com/testhtm.htm','test','width=300,height=150');">Click here to test</a> '); As you can see i am getting to may '''''''' How can i solve that. Thanks for looking at this. Link to comment Share on other sites More sharing options...
web-project Posted January 25, 2009 Share Posted January 25, 2009 try: define('TEXT_INFORMATION', ' <a href="java script:window.open(\'http://www.testdomain.com/testhtm.htm\',\'test\',\'width=300,height=150\');">Click here to test</a> '); Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.