FabianoM
Programmer
- May 13, 2009
- 2
Hello, I'm sorry for my English
I need to creat a link via javascript that pass the attribute rel:
I have the link:
<a href="#page.php" rel="history">PAGE LINK</a>
I need something that call a javascript function, for example:
<a href="javascriptageURL('#page.php','history')>PAGE LINK</a>
where call the function
function pageURL(url, rel){
}
I don't know how to create in this function, I need creat the link with the href and rel attributes inside this function, and that in it same function execute the link automatically.
I need to do it, because I have to call it in the getURL of my flash menu, because the getURl don't suport the attribute rel.
Somebody can help me??
Thank's
I need to creat a link via javascript that pass the attribute rel:
I have the link:
<a href="#page.php" rel="history">PAGE LINK</a>
I need something that call a javascript function, for example:
<a href="javascriptageURL('#page.php','history')>PAGE LINK</a>
where call the function
function pageURL(url, rel){
}
I don't know how to create in this function, I need creat the link with the href and rel attributes inside this function, and that in it same function execute the link automatically.
I need to do it, because I have to call it in the getURL of my flash menu, because the getURl don't suport the attribute rel.
Somebody can help me??
Thank's