I have 33 links I need to put in a .js file so my .php pages can call the .js up.
Anybody know?
document.write("<h6><div align='left'><a href='http://www.somewebsite.comt/'target='_blank'>Some Web Site</a></h6>");
But the header tag is surely wrong to make a nice clean list of links, the links to do fit well on the page if we go that road.
How do I put a list of links inside a .js file?
Started by starvista9, May 20 2006 08:39 PM
2 replies to this topic
#1
Posted 20 May 2006 - 08:39 PM
#2
Posted 20 May 2006 - 11:39 PM
What are you asking? I dont understand....
You could write the js file manually through php or you could use mod rewrite to cloak that js file as an actual php file. It is totally up to you.
You could write the js file manually through php or you could use mod rewrite to cloak that js file as an actual php file. It is totally up to you.
#3
Posted 20 May 2006 - 11:40 PM
the <script></script> doesnt need to be in the head
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
