View Full Version : I tried not to post...but I had to
gman33
Apr-30-2008, 04:50 PM
Hi All
I recently migrated from the old slideshow to the new flash one....yes I am slow. I took out all the code that I didn't need and everything worked wonderfully...the first time. The front page looks great in FF but I can't figure out the spacing in IE6...have not tried IE7. The flash is 2 inches below the menubar...want to move it closer. I did look on the forum and tried various code, but something is blocking it from moving up. This was perfect with the old slideshow...but we must move on
Could one of you CSS gurus help me out and tell me where I failed??? :cry
I have been trying to get this all day but I finally broke down and had to ask on the forum
Thanks in advance for the help!!!
Ed
gman33
May-01-2008, 04:53 PM
bump :D
Allen
May-02-2008, 05:38 AM
Hi All
I recently migrated from the old slideshow to the new flash one....yes I am slow. I took out all the code that I didn't need and everything worked wonderfully...the first time. The front page looks great in FF but I can't figure out the spacing in IE6...have not tried IE7. The flash is 2 inches below the menubar...want to move it closer. I did look on the forum and tried various code, but something is blocking it from moving up. This was perfect with the old slideshow...but we must move on
Could one of you CSS gurus help me out and tell me where I failed??? :cry
I have been trying to get this all day but I finally broke down and had to ask on the forum
Thanks in advance for the help!!!
Ed
Clean up your nav html first and see if it helps IE. Might be some unclosed
items in there. Here's your whole nav html with changes.
<div class="menu">
<ul>
<li><a href="http://ergphoto.smugmug.com">Home</a></li>
<li><a class="drop" href="#nopick">Galleries
<!--[if IE 7]><!--></a><!--<![endif]--><table><tbody><tr><td>
<ul>
<li><a href="http://ergphoto.smugmug.com/Personal/399423">Animals</a></li>
<li><a href="http://ergphoto.smugmug.com/Personal/399521">Architecture</a></li>
<li><a href="http://ergphoto.smugmug.com/Personal/399476">Country</a></li>
<li><a href="http://ergphoto.smugmug.com/Personal/399524">Events</a></li>
<li><a href="http://ergphoto.smugmug.com/Personal/399420">Family/Friends</a></li>
<li><a href="http://ergphoto.smugmug.com/Personal/399424">Outdoors</a></li>
<li><a href="http://ergphoto.smugmug.com/Personal/399526">Places</a></li>
<li><a href="http://ergphoto.smugmug.com/Personal/399522">Rides</a></li>
<li><a href="http://www.ergphoto.com/game/index-2.html">Sports</a></li>
</ul> </td></tr></tbody></table><!--[if lte IE 6]></a><![endif]-->
</li>
<li><a href="http://ergphoto.smugmug.com/gallery/3082084">Guestbook</a></li>
<li><a href="javascript:showRecent(20)">Recent</a></li>
<li><a class="drop" href="nopick">Information
<!--[if IE 7]><!--></a><!--<![endif]--><table><tbody><tr><td>
<ul>
<li><a href="http://ergphoto.smugmug.com/gallery/3597157" title="Services">Services</a></li>
<li><a href="http://ergphoto.smugmug.com/gallery/3716796" title="Prints and Products">Prints/Products</a></li>
<li><a href="http://ergphoto.smugmug.com/gallery/3719558" title="Estimated Shipping">Shipping</a></li>
<li><a href="http://ergphoto.smugmug.com/gallery/3719704" title="Need Help?">Need Help?</a></li>
<li><a href="http://ergphoto.smugmug.com/gallery/3719832" title="Our Guarantee">Our Guarantee</a></li>
</ul> </td></tr></tbody></table><!--[if lte IE 6]></a><![endif]-->
</li>
<li><a class="drop" href="http://ergphoto.smugmug.com">About
<!--[if IE 7]><!--></a><!--<![endif]--><table><tbody><tr><td>
<ul>
<li><a href="http://ergphoto.smugmug.com/gallery/3001181" title="About Me">About Me</a></li>
<li><a href="http://www.ergphoto.com/game/index-7.php" title="Contact">Contact</a></li>
</ul> </td></tr></tbody></table><!--[if lte IE 6]></a><![endif]-->
</li>
</ul> </td></tr></tbody></table><!--[if lte IE 6]></a><![endif]-->
</div>
Have no idea what this link is for your galleries and info nav buttons but there are no html index's on Smug.
../opacity/index.html
gman33
May-02-2008, 10:08 AM
Thank you Allen for the assistance, however it still sits down low. I have had those menus in there since day 1 and you helped me build them :thumb
I noticed when the page loads that the "loading" image is where it should be and then it gets pushed down once loaded.
I played around with the margins in the CSS but no luck
Thanks again for the assistance
Ed
gman33
May-03-2008, 05:39 AM
bump in the night....:huh
gman33
May-05-2008, 01:36 AM
Bump....pretty please
Andy
May-05-2008, 03:40 AM
Bump....pretty please
Yeah, wait for Allen he'll be around I'm sure, okay?
gman33
May-05-2008, 03:53 AM
Thanks Andy.....I know....I appreciate the response ;-)
gman33
May-05-2008, 04:39 AM
I think I figured it out...I wiped out my entire javascript and reloaded the page in IE and it was perfect...I think I one too many closing tags } and that was messing it up....but if someone can confirm it looks alright, I would appreciate it
*** EDIT....I just checked again and that closing tag is needed for my "Recent" gallery to work....will keep poking
Ed
Allen
May-05-2008, 06:39 AM
I think I figured it out...I wiped out my entire javascript and reloaded the page in IE and it was perfect...I think I one too many closing tags } and that was messing it up....but if someone can confirm it looks alright, I would appreciate it
*** EDIT....I just checked again and that closing tag is needed for my "Recent" gallery to work....will keep poking
Ed
Oops, missing some code. Change all these lines in your nav html from this
<ul>
<!--[if IE 7]><!--></a><!--<![endif]--><table><tbody><tr><td>
to this
<ul>
<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]-->
gman33
May-05-2008, 07:32 AM
Thanks Allen for the response. I replaced the code but it messed up the navbar...my fault most definitely but I never had an issue with the navbar. The problem started since I replaced the old slideshow with the new flash one. It looks nice in FF but not IE...I removed the javascript code for the RECENT gallery and the SS shifted all up where it should in IE.
I recopied the code from the RECENT thread and still an issue. In IE I notice a error when loading...line 1 char 25 but I am not sure where that is coming from or if I can see the code.
I also noticed that this code for the RECENT gallery in the Body Tag
<body onload="addRecentFeatured(' ', 30, '');">
When I change it to this
<body onload="addRecentFeatured('RECENT GALLERY', 30, '');">
"RECENT GALLERY" appears on the home page
Any thoughts? :scratch
thanks again
Ed
gman33
May-05-2008, 09:02 AM
Well...I think it had something to do with the javascript code for the recent galleries.
I replaced the code with this one and it works...but still getting a javascript error...still debugging ;-)
//Goto Recent Gallery
function showRecent(days)
{
endDate = new Date();
oneDay = 1000*60*60*24;
startDate = new Date(endDate.getTime() - (parseInt(days) * oneDay));
sUrl = "/date/";
sUrl += startDate.getFullYear() + "-" + padDate(startDate.getMonth() + 1) + "-" + padDate(startDate.getDate());
sUrl += "/";
sUrl += endDate.getFullYear() + "-" + padDate(endDate.getMonth() + 1) + "-" + padDate(endDate.getDate());
window.location = sUrl;
}
function padDate(datePart)
{
if (datePart.toString().length != 1)
return datePart
return "0" + datePart;
}
//Goto Recent Gallery
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.