| View previous topic :: View next topic |
| Author |
Message |
NandSi
Joined: 12 Jan 2009
Posts: 24
|
| Posted: Sat Jan 24, 2009 8:50 am Help - I screwed up the 'click image it gets larger' thing.. |
|
|
I did this on my other page & it works great but this page it clicks down the page and some of my images are that dreaded 'missing image' box.
My page is activly up & screwed up right now. I'm going to take most of this out and just put up a few stand alone images until I can figure this out.
Would appreciate if anyone can see what I'm missing here.
Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive 6">
<title>Soundz AVL Corporate Events</title>
</head>
<body bgcolor="#FFFFFF" background="NewFiles/Bgd.gif" bgproperties="fixed" link="#7b00ff" vlink="#7b00ff" alink="#7b00ff">
<script language=JavaScript>
<!--
//Disable right click script III- By Renigade (renigadeatmediaone.net)
//For full source code, visit http://www.dynamicdrive.com
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
</script>
<table width="1089" border="0" cellspacing="0" cellpadding="0" height="526" align="center">
<tr valign="top">
<td>
<table width="1017" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="6">
<div align="center">
<img src="NewFiles/Cool%20Purple%20background.jpg" width="641" height="13"></div>
</td>
</tr>
</table>
<table width="1089" border="8" cellspacing="10" cellpadding="0">
<tr valign="top">
<td width="173" height="43">
<div align="center">
<a href="index.html"><b>HOME</b></a></div>
</td>
<td width="155" height="43">
<div align="center"><b>SERVICES</b></div>
</td>
<td width="159" height="43">
<div align="center">
<b>
PRODUCTS</b></div>
</td>
<td width="204" height="43">
<div align="center">
<b>
RENTALS</b></div>
</td>
<td width="184" height="43">
<div align="center">
<b><a href="clearance.html">CLEARANCE</a></b></div>
</td>
<td width="213" height="43">
<div align="center">
<a href="contactus.html"><b>CONTACT US</b></a></div>
</td>
</tr>
</table>
<table width="1088" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="5" height="300" rowspan="3"> </td>
<td rowspan="3" width="512" height="115" align="center" valign="top" colspan="2">
<div align="left">
<h3><br>
</h3>
<h3> CORPORATE EVENTS</h3>
<h3> <a href="Concerts.html">CONCERTS</a><a href="fashionshows.html"><br>
</a></h3>
<h3> <a href="fashionshows.html">FASHION SHOWS</a><a href="Installations.html"><br>
</a></h3>
<h3> <a href="Installations.html">INSTALLATIONS</a><a href="Entertainment.html"><br>
</a></h3>
<h3> <a href="Entertainment.html">ENTERTAINMENT</a></h3>
<p align="center"><img src="newfiles/00182.jpg" width="400" height="300" alt="Chicago 2003 " vspace="5"></p>
</div>
</td>
<td width="75" height="222" align="center" rowspan="3"> </td>
<td colspan="2" rowspan="3" align="center" valign="top" width="496">
<div align="left">
<p align="left"><font face="Arial, Helvetica, sans-serif" size="4"><br><br><br><br> Annually,
Soundz AVL services hundreds of corporate functions. Some of our
clients include: Washington Mutual, Discover Card, US Cellular,
American Express, Indak, The Chicago Tribune, First Midwest Bank,
The American Medical Association, The American Cancer Society,
Target, Household Finance, The International Academy of Merchandise
and Design, Maryville Academy, Mandel Productions, Event Solutions
Magazine and SE Chicago Magazine</font><font face="Arial, Helvetica, sans-serif" size="4">...to
name a few.</font></p>
<p></p>
<p></p>
</div>
</td>
</tr>
<tr> </tr>
<tr> </tr>
<tr>
<td width="5" height="52" rowspan="2"> </td>
<td colspan="5" valign="top" width="1083" height="900"> <p></p>
<div align="center"><br><br>
<p><img id="large1" src="NewFiles/ahr0054.jpg"><br>
<br>
<img src="NewFiles/ahr0032thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0032.JPG'">
<img src="NewFiles/ahr0034thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0034.JPG'">
<img src="NewFiles/ahr0054thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0054.JPG'">
<img src="NewFiles/ahr0059thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0059.JPG'">
<img src="NewFiles/ahr0040thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0040.JPG'"><br>
<img src="NewFiles/ahr0050thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0050.JPG'">
<img src="NewFiles/ahr0056thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0056.JPG'">
<img src="NewFiles/ahr0053thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0053.JPG'">
<img src="NewFiles/ahr0061thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0061.JPG'">
<img src="NewFiles/ahr0058thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0058.JPG'">
</p></div>
<hr noshade><p></p>
<div align="center"><br><br>
<p><img id="large2" src="newfiles/MVC-145.jpg"><br>
<br>
<img src="NewFiles/MVC-157thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-157.JPG'">
<img src="NewFiles/MVC-272thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-272.JPG'">
<img src="NewFiles/MVC-145thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-145.JPG'">
<img src="NewFiles/MVC-172thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-172.JPG'">
<img src="NewFiles/MVC-176thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-176.JPG'">
<img src="NewFiles/MVC-191thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-191.JPG'"><br>
<img src="NewFiles/MVC-204thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-204.JPG'">
<img src="NewFiles/MVC-205thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-205.JPG'">
<img src="NewFiles/MVC-211thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-211.JPG'">
<img src="NewFiles/MVC-214thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-214.JPG'">
<img src="NewFiles/MVC-215thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-215.JPG'">
<img src="NewFiles/MVC-219thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-219.JPG'"><br>
<img src="NewFiles/MVC-229thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-229.JPG'">
<img src="NewFiles/MVC-232thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-232.JPG'">
<img src="NewFiles/MVC-240thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-240.JPG'">
<img src="NewFiles/MVC-251thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-251.JPG'">
<img src="NewFiles/MVC-253thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-253.JPG'"> <img src="NewFiles/MVC-264thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-264.JPG'"></p>
</div>
<hr noshade>
<p></p>
<p></p>
<p><img src="newfiles/thumb5.jpg" width="192" height="144" hspace="0" alt="The Radisson"><img src="newfiles/thumb8.jpg" width="215" height="144" hspace="3" alt="Peninsula Hotel"><img src="newfiles/HousholdFinance1.jpg" width="218" height="144" hspace="3" alt="Private Party"></p>
<div align="center">
<p><img src="newfiles/thumb10.jpg" width="215" height="144" hspace="3" alt="Peninsula Hotel"><img src="newfiles/thumb7.jpg" width="215" height="144" hspace="3" alt="Peninsula Hotel"><img src="newfiles/thumb12.jpg" width="221" height="156" hspace="3" alt="Peninsula Hotel"><img src="newfiles/thumb6.jpg" width="221" height="155" hspace="0" alt="The Radisson"><img src="newfiles/HousholdFinance2.jpg" width="235" height="155" hspace="3" alt="Private Party"><img src="newfiles/HousholdFinance3.jpg" width="239" height="155" alt="Private Party"><img src="newfiles/thumb11.jpg" width="224" height="156" hspace="3" alt="Peninsula Hotel"><img src="newfiles/thumb9.jpg" width="228" height="156" alt="Peninsula Hotel"></p>
</div>
</td>
</tr>
<tr>
<td colspan="5" valign="top" width="1083" height="114" rowspan="2">
<div align="center"></div>
</td>
</tr>
<tr>
<td width="5" height="23"> </td>
</tr>
<tr>
<td width="5"> </td>
<td colspan="3" valign="top" width="587"> </td>
<td colspan="2" align="center" valign="top" width="496"> </td>
</tr>
<tr>
<td width="5" height="82" rowspan="2"> </td>
<td colspan="2" width="512" height="23">
<div align="center">
<font face="Arial, Helvetica, sans-serif" size="4">(847) 838-2121</font>
<p><font face="Arial, Helvetica, sans-serif" size="4"> Fax (847) 838-3131</font></p>
</div>
</td>
<td colspan="3" width="571" height="86" rowspan="9">
<div align="center">
<img src="NewFiles/SzLogo-gray.jpeg" width="360" height="152"></div>
</td>
</tr>
<tr>
<td colspan="2" width="512" height="12">
<div align="center">
<font face="Arial, Helvetica, sans-serif" size="4">Email: <a href="mailto:%20soundzavlathotmail.com">SoundzAVLathotmail.com</a> </font></div>
</td>
</tr>
<tr>
<td width="5"> </td>
<td colspan="2" rowspan="7" width="512">
<div align="center">
<address> 40424 N. Deep Lake Rd</address>
<address>Antioch, IL 60002</address>
</div>
</td>
</tr>
<tr>
<td width="5" height="2"> </td>
</tr>
<tr>
<td width="5"> </td>
</tr>
<tr>
<td width="5"> </td>
</tr>
<tr>
<td width="5"> </td>
</tr>
<tr>
<td width="5"> </td>
</tr>
<tr>
<td width="5" height="2"> </td>
</tr>
<tr>
<td width="5"> </td>
<td width="179"> </td>
<td width="333"> </td>
<td width="75"> </td>
<td width="28"> </td>
<td width="468"> </td>
</tr>
<tr>
<td width="5"> </td>
<td width="179"> </td>
<td width="333"> </td>
<td width="75"> </td>
<td width="28"> </td>
<td width="468"> </td>
</tr>
<tr>
<td width="5" height="22"> </td>
<td colspan="5" width="1083" height="22">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2">©2002-2009 Soundz AVL All Rights Reserved</font></div>
</td>
</tr>
</table>
<p> </p>
</td>
</tr>
</table>
</body>
</html> |
|
|
sticks464
Joined: 31 Dec 2006
Posts: 2311
|
| Posted: Sat Jan 24, 2009 9:46 am |
|
|
Make sure your paths are correct. Most of the links are like this NewFiles/Bgd.gif", but these are small letters
Code: <p><img id="large2" src="newfiles/MVC-145.jpg"><br>
<p><img src="newfiles/thumb5.jpg" width="192" height="144" hspace="0" alt="The Radisson"><img src="newfiles/thumb8.jpg" width="215" height="144" hspace="3" alt="Peninsula Hotel"><img src="newfiles/HousholdFinance1.jpg" width="218" height="144" hspace="3" alt="Private Party"></p>
<p><img src="newfiles/thumb10.jpg" width="215" height="144" hspace="3" alt="Peninsula Hotel"><img src="newfiles/thumb7.jpg" width="215" height="144" hspace="3" alt="Peninsula Hotel"><img src="newfiles/thumb12.jpg" width="221" height="156" hspace="3" alt="Peninsula Hotel"><img src="newfiles/thumb6.jpg" width="221" height="155" hspace="0" alt="The Radisson"><img src="newfiles/HousholdFinance2.jpg" width="235" height="155" hspace="3" alt="Private Party"><img src="newfiles/HousholdFinance3.jpg" width="239" height="155" alt="Private Party"><img src="newfiles/thumb11.jpg" width="224" height="156" hspace="3" alt="Peninsula Hotel"><img src="newfiles/thumb9.jpg" width="228" height="156" alt="Peninsula Hotel"></p> |
|
|
NandSi
Joined: 12 Jan 2009
Posts: 24
|
| Posted: Sat Jan 24, 2009 10:07 am |
|
|
I tried large & small.
There was an existing directory when I took over the site and then GoLive added another directory with the same name, only the other way...one NewFiles one newfiles.
Anyway, my other page that works has the cap NewFiles and it works great.
I tried it both ways and I don't think that is the problem. Both files have the same images in them. Both are used here & there throughout the site...so I don't delete one or the other.
I will try to change them again... |
|
|
NandSi
Joined: 12 Jan 2009
Posts: 24
|
| Posted: Sat Jan 24, 2009 10:12 am |
|
|
Actually the stuff you listed is not part of the problem. That is old stuff at the bottom of the page I haven't gotten to yet.
The part I'm having trouble with is the part with is this:
Code: <div align="center"><br><br>
<p><img id="large1" src="NewFiles/ahr0054.jpg"><br>
<br>
<img src="NewFiles/ahr0032thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0032.JPG'">
<img src="NewFiles/ahr0034thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0034.JPG'">
<img src="NewFiles/ahr0054thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0054.JPG'">
<img src="NewFiles/ahr0059thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0059.JPG'">
<img src="NewFiles/ahr0040thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0040.JPG'"><br>
<img src="NewFiles/ahr0050thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0050.JPG'">
<img src="NewFiles/ahr0056thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0056.JPG'">
<img src="NewFiles/ahr0053thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0053.JPG'">
<img src="NewFiles/ahr0061thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0061.JPG'">
<img src="NewFiles/ahr0058thumb.JPG" onclick="document.all.large1.src='NewFiles/ahr0058.JPG'">
</p></div>
<hr noshade><p></p>
<div align="center"><br><br>
<p><img id="large2" src="newfiles/MVC-145.jpg"><br>
<br>
<img src="NewFiles/MVC-157thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-157.JPG'">
<img src="NewFiles/MVC-272thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-272.JPG'">
<img src="NewFiles/MVC-145thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-145.JPG'">
<img src="NewFiles/MVC-172thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-172.JPG'">
<img src="NewFiles/MVC-176thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-176.JPG'">
<img src="NewFiles/MVC-191thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-191.JPG'"><br>
<img src="NewFiles/MVC-204thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-204.JPG'">
<img src="NewFiles/MVC-205thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-205.JPG'">
<img src="NewFiles/MVC-211thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-211.JPG'">
<img src="NewFiles/MVC-214thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-214.JPG'">
<img src="NewFiles/MVC-215thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-215.JPG'">
<img src="NewFiles/MVC-219thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-219.JPG'"><br>
<img src="NewFiles/MVC-229thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-229.JPG'">
<img src="NewFiles/MVC-232thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-232.JPG'">
<img src="NewFiles/MVC-240thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-240.JPG'">
<img src="NewFiles/MVC-251thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-251.JPG'">
<img src="NewFiles/MVC-253thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-253.JPG'"> <img src="NewFiles/MVC-264thumb.JPG" onclick="document.all.large2.src='NewFiles/MVC-264.JPG'"></p>
</div>
I only listed the whole page because I thought you might need to see it all.
Thanks |
|
|
sticks464
Joined: 31 Dec 2006
Posts: 2311
|
| Posted: Sat Jan 24, 2009 10:14 am |
|
|
| Do you have a link to the live page? |
|
|
NandSi
Joined: 12 Jan 2009
Posts: 24
|
| Posted: Sat Jan 24, 2009 10:19 am |
|
|
http://www.soundzavl.com/corporateevents.html
I already made a change so that the 2 larger images are just images now, not clickable (so that the page at least shows all the images, even if they don't click & get larger).
Thanks |
|
|
NandSi
Joined: 12 Jan 2009
Posts: 24
|
| Posted: Sat Jan 24, 2009 10:21 am |
|
|
Here is the page that works fine.
http://www.soundzavl.com/clearance.html
I can't find what I did wrong on the other page.
Thanks for all your help!!! |
|
|
sticks464
Joined: 31 Dec 2006
Posts: 2311
|
| Posted: Sat Jan 24, 2009 10:50 am |
|
|
The only difference I see is the clearance page first set of images to be enlarged have no number
onclick="document.all.large.src=
Then on the corporate events page, they start with
onclick="document.all.large1.src=
I don't know if it makes a difference where the numbering starts or not. |
|
|
NandSi
Joined: 12 Jan 2009
Posts: 24
|
| Posted: Sat Jan 24, 2009 11:07 am |
|
|
| Okay I tried that...and if you go to the page you will see that it still doesn't work. And then you will be able to see exactly what the heck it is doing. |
|
|
NandSi
Joined: 12 Jan 2009
Posts: 24
|
| Posted: Sat Jan 24, 2009 12:31 pm |
|
|
The strange thing is that it works perfectly in the GoLive preview screen and yet every time I upload the thing it still doesn't work.
Can anybody help?
I'm completely lost. I even tried to copy everything from the page that works into this page, but it just made everything wider.
I didn't make the frames & don't know how to work with them I guess. |
|
|
sticks464
Joined: 31 Dec 2006
Posts: 2311
|
| Posted: Sun Jan 25, 2009 2:13 pm |
|
|
onclick="document.all.large1. only works in IE and no other browser. I don't know why one page works and the other doesn't.
I have worked up an example page using css and jquery if your interested. |
|
|
NandSi
Joined: 12 Jan 2009
Posts: 24
|
| Posted: Sun Jan 25, 2009 3:11 pm |
|
|
I would really appreciate it!!!
Are you saying that this onclick thing only works in IE? Don't most people use IE anyway? I'm getting very confused about what to do. |
|
|
sticks464
Joined: 31 Dec 2006
Posts: 2311
|
| Posted: Sun Jan 25, 2009 3:29 pm |
|
|
IE is steadily losing ground to more compliant browsers as FireFox (35% of market), Google Chrome (12% of market), Opera and Safari. As consumers are getting more educated they are turning to more standards compliant browsers.
I will pm you. |
|
|
NandSi
Joined: 12 Jan 2009
Posts: 24
|
| Posted: Wed Mar 25, 2009 12:59 pm |
|
|
I did finally figure it out and thought I'd share this simple dumb thing I missed..
GoLive made a folder named NewFiles and I had a folder on my server that had newfiles. For some reason some of my imaes went to newfiles and some went to NewFiles. I fixed it by making a new folder called Images and when I get around to it I will just delete newfiles & New Files.
I did some research and onClick works with alot of browsers...IE, Firefox, Opera...and a few others. I'm glad I didn't give up on onClick as it does what I need and is simple to use.
Thanks for your help before! |
|
|
| |
|
|
|