![]() |
Help on javascript
I have links on my index page. When a person clicks the links I need the src of an iframe on another page to reflect what link was clicked.
It works ok if the link was opening up a standard html page but now I want that iframe page to be wrapped in vbulletin. Home page with the links is index.php The html page with the iframe is test.html The iframe is named view When wrapped in vbulletin it is a page called testpage The script I have on my test.html page is: Code:
<script type="text/javascript"> (Note: I have removed a ] where appropriate in the below so the code will show) Code:
URL="http://<my domain>/test.html?view=http://www.domain.com/index.html?from=public_rss"]Link No 1...[/URL Code:
../index.php?pageid=testpage Code:
URL="http://<my domain>/index.php?pageid=testpage?view=http://www.domain.com/index.html?from=public_rss"]Just Testing...[/URL Any help is very much appreciated and thanks! |
This should be what you want:
Code:
function iframe_src() |
Thanks Deceptor but unfortunately I am still getting "Invalid Page Specified" message
|
All times are GMT. The time now is 09:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|