Help - Search - Members - Calendar
Full Version: HTML
Get Paid Forum - Get Paid Discussion > Webmaster's Corner > General Discussion on Building, Running & Making Money from a Website
CasperXO
I have been working really hard to "know" HTML. But now I've come up against a wall. I don't know what I'm doing wrong. I took this code:

<!-- start http://exitcashflow.com/get_paid.php?ref=xxxxxxx code -->
<script language="JavaScript">
<!--
window.open('http://exitcashflow.com/get_paid.php?ref=xxxxxxx');
-->
</script>
<!-- end http://exitcashflow.com/get_paid.php?ref=xxxxxxx code -->

And tried to insert it into my website. It didn't work. I thought I'd missed something, so I went to a "Try It" site I use often and it worked. Is because it's not HTML but JavaScript? If this is the case, can anyone tell me if/how I can make it HTML? Thanks for your time and patients.
dixiedev
Try it in HTML form

<a href="http://exitcashflow.com/get_paid.php?ref=xxxxxxx" target="blank">Exit Cash Flow</a>

Here is a site that will help you learn HTML

http://www.htmlgoodies.com/primers/basics.html
CasperXO
Thanks very much for your time- I will try that.
CasperXO
It's working now- thanks for your help.
top-designing
You do not have an event for that action that's why i will give you both examples:

for body (when the page is loading will open another window with this page)
onload="java script:window.open('htpp://yoursite','_blank') //for another window
onload="java script:window.open('htpp://yoursite','_self')

For a button (when a user will make a click this window will be opened)

<input type="button" name="sitename" onclick="window.open('htpp://yoursite','_blank')">
Here is not necessary that JavaScript. This will open a new window when a user makes a click on tha button.

Best Regards
Top Designing
Ian
You do not have to have an action to run javascript. It will be run as soon as it is encountered as long as it's not in a function.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.