Help for a JS beginner

labecs

New Member
Please, I hope someone will help me with this... I have the following scripts for my Facebook and Twitter pages, but I need them to open in a new window. I have no idea of how to do this with this kind of code (I'm learning slowly, please bear with me) And also... the code looks kind of weird, is it correct?:confused:

<p align=center><a id="icnlnk" href='http://facebook.com/profile.php?id=MYID'></a><script type="text/javascript">var icnid="64";//101225</script>
<div id='fbb'></div><script src="http://coolbadge.org/c/"></script></p>
<p align=center><a id="icnlnk" href='http://twitter.com/MYNAME'></a><script type="text/javascript">var icnid="124351";//101225</script>
<div id='fbb'></div><script src="http://coolbadge.org/c/"></script></p>
 

smoovo

New Member
It's not a JS issue. Just add this line of code target="_blank" to you links.

HTML:
<a href="..." target="_blank">Facebook</a>
 

che09

New Member
It's not a JS issue. Just add this line of code target="_blank" to you links.

HTML:
<a href="..." target="_blank">Facebook</a>

This would explain pretty well. If you are really persistent in learning you'll learn these things. Good luck!
 
Top