I would love some help on this please

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view

I would love some help on this please

Hey everyone,

I'm trying to run Shadowbox for a page that I'm creating and I think that I have everything the way that it should be, but it's not working so I have to have done something wrong.  I'm not terribly great with code yet, but I'm learning.  I have the "src", "build", and "images" folders on the same level as my Main.html page which is what the index.html file (an iframe) sources.  I want Shadowbox to open secondary pages from my "Main.html" page's buttons.  Would anyone take a look at this code and tell me if anything pops out as wrong?  I really appreciate your time and help with this.



<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css"> a{-moz-outline-style: none;} body { background-color: #000000; } </style><link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" type="text/css" href="src/css/shadowbox.css">

<script type="text/javascript" src="src/js/lib/yui-utilities.js"></script><script type="text/javascript" src="src/js/adapter/shadowbox-yui.js"></script>
<script type="text/javascript" src="src/js/shadowbox.js"></script><script type="text/javascript"> window.onload = Shadowbox.init; </script>
<script> function newImage(arg) { if (document.images) { rslt = new Image(); rslt.src = arg; return rslt; } } function changeImages() { if (document.images && (preloadFlag == true)) { for (var i=0; i<changeImages.arguments.length; i+=2) { document[changeImages.arguments[i]].src = changeImages.arguments[i+1]; } } } var preloadFlag = false; function preloadImages() { if (document.images) { Main_03_over = newImage("images/Main_03-over.gif"); Main_04_over = newImage("images/Main_04-over.gif"); Main_05_over = newImage("images/Main_05-over.gif"); preloadFlag = true; } } // --> </script>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="preloadImages();">


Reply | Threaded
Open this post in threaded view

Re: I would love some help on this please

If it's possible for you to put the page up on the web it would make things a lot easier?
Combine literacy with curiosity and a whole world of information opens up to you