I need to invisibly load a target page when my home page loads. I've tried the following:
SCRIPT LANGUAGE="JavaScript" [login to view URL](iframe src="[login to view URL]" width=1 height=1 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no/iframe') /SCRIPT
object type="text/x-scriptlet" width=2 height="2" data="[login to view URL]" /object
The problem with the above is that the target title loads in my home page. The following code fixes that:
iframe src="[login to view URL]" width=1 height=1 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no title="My Home Page Title"/iframe
(open and close tags modified for viewing here)
Now the problem is that if I try to load more than one target, my home page redirects to the target. So I need code/script that will allow me to load several target pages invisibly when my home page loads, and the entire process should not effect the loading/viewing of my home page. The result of this should be that a hit counter on the target page will register a hit when the home page is viewed. Can't use anything beyond html/dhtml/js for a solution.
## Deliverables
Complete source code of all programming work done. Also load the solution code on a webpage along with at least 2 target URLs to demonstrate that your solution works correctly.