|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
Slide Show help, etc
Hey guys! New to this stuff and have been trying to update my website. I have put a header, nav bar and slide show on there using Ivar's tutorial, but I need some tweaking.
Thank you for any help. My website is www.nealphotographicdesign.smugmug.com ----Christine
|
|
|
|
|
#2
|
|
|
Scripting dude-volunteer
|
First, you have an invalid piece of CSS at the end of your CSS customization. Please remove this:
#mysearch { Then, you have a couple HTML errors in your header that need to be fixed. At the end of your header, you have: </ul> </div That needs to be: </ul> </div> </div> You were missing the closing ">" on one div and missing a whole div. Remember that every <div> you add must have a matching closing </div>. If you don't do that the formatting can go haywire and can vary across browsers. Now to close up some of the empty space, you can do a couple things: Add this CSS: .homepage #breadcrumb {display:none;} Then, add this attribute at the beginning of your slideshow declaration: imgAlign: 'top', Beyond that, you will have to decide what you want to do with the search bar because it's layout is responsible for the remaining space. For your galleries button to point to categories, you have to do three things.
Remove the extraneous close brace from there: rightClickWarning = "All photos are property of Neal Photographic Design. All rights reserved. Unauthorized use is prohibited."; } Remove the second copy of the hasPath function you have in your bottom javascript. You should only have one copy of that function. After you fix those, we can see if there are any further errors preventing things from working properly. I suspect that the reason things aren't working right in IE is because of the HTML errors in your header.
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
|
#3
|
|
|
Big grins
|
Thanks, but need...
OK, things are better--but when I click gallery it is replicating my home page and the home page shows my categories.
The slide show is closer to the top--THANKS! So, are you saying since I have the search box it is taking up the other space? Maybe if I get rid of it, it will move up more? It looks much better in IE--THANKS AGAIN! Just need some advice about the gallery tab and now my email link at the bottom is aligned to the left and it was centered at one point. Thanks for your help. |
|
|
|
|
#4
|
||
|
Scripting dude-volunteer
|
Quote:
function hasPath(sPath) When you've removed that, we'll see if there are any more errors.
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
|
#5
|
|
|
Big grins
|
Ok...
OK, removed that and my Galleries page is still a replica of my homepage. Anything else I can try?
Its like it doesn't know to block the galleries in the homepage and doesn't know to block the slideshow in the galleries page. I'm too dumb to figure it out. |
|
|
|
|
#6
|
||
|
Scripting dude-volunteer
|
Quote:
There are still more Javascript errors you need to fix. Unfortunately, because I don't have access to modify your page, all we can do is nail them one at a time and see which errors (if any) show next. Please insert a missing closing brace in your Bottom Javascript here: Code:
function AddReferralCode() {
var links = this.getElementsByTagName("A");
if (links && (links.length != 0)) {
var smugLink = links.item(0);
smugLink.href = "http://www.smugmug.com/?referrer=YH0AD8kdQO9jA";
}
}
YE.onAvailable('footer', AddReferralCode);
rightClickWarning = "All photos are property of Neal Photographic Design. All rights reserved. Unauthorized use is prohibited.";
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
if (hasPath("galleries"))
YD.addClass(document.body, "galleries");
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
|
#7
|
|
|
Big grins
|
OK, OK--we are getting further along.
Now, the slideshow doesn't show in the galleries page...but, the galleries show in the home page.
__________________
[FONT=Palatino Linotype]Teal[/FONT] www.nealphotographicdesign.com soon to be: www.reflectionsbychristine.com |
|
|
|
|
#8
|
||
|
Scripting dude-volunteer
|
Quote:
The galleries only show on the homepage when you are logged in (e.g. I don't see them there). You have specifically added customization to make it be that way. If you don't want them to show on the homepage when you are logged in, you can get rid of this CSS in your customization: .loggedIn .homepage #galleriesBox, .loggedIn .homepage #categoriesBox { display: block; }
__________________
--John Homepage • Popular JFriend's javascript customizations • Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
|
#9
|
|
|
Big grins
|
by George... I think we have got it!!
![]() Now, one last request. Can you help me center the email me button. It is at the bottom of the homepage. Maybe later I need a button at top to email me, but that will probably take a little more work. THANKS!!! Thanks for all your help.
__________________
[FONT=Palatino Linotype]Teal[/FONT] www.nealphotographicdesign.com soon to be: www.reflectionsbychristine.com |
|
|
|
|
#10
|
||
|
"tweak 'til it squeaks"
|
Quote:
<div align="center"> <a href="mailto:reflectionsbychristine@yahoo.com">Email Me</a> </div>
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#11
|
|
|
Big grins
|
Thanks a bunch!!!
Cool. Thanks a bunch you guys!!
__________________
[FONT=Palatino Linotype]Teal[/FONT] www.nealphotographicdesign.com soon to be: www.reflectionsbychristine.com |
|
|
|
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|