View Full Version : Need a little help for a guy who can't leave well enough alone
dixonjg
Dec-04-2007, 08:19 PM
Well, this makes 2 days in a row. I broke my site. This time I was trying to change from having the big custom banner to doing FAQ #5 here: http://www.smugmug.com/help/customize-faq.mg
I think I took out something I wasn't supposed to. I am about to start over with all of the customizations that I started, but was hoping it was something simple like the last time I posted here.
TIA, and I'll try to quit breaking things :D
Jason
dixonjg
Dec-04-2007, 08:22 PM
Yeah. . .might help if I told you my site is dixonstudios.smugmug.com
Jason
Allen
Dec-04-2007, 08:35 PM
Well, this makes 2 days in a row. I broke my site. This time I was trying to change from having the big custom banner to doing FAQ #5 here: http://www.smugmug.com/help/customize-faq.mg
I think I took out something I wasn't supposed to. I am about to start over with all of the customizations that I started, but was hoping it was something simple like the last time I posted here.
TIA, and I'll try to quit breaking things :D
Jason
Is this what you're looking for?
Add the text to your banner html in the header.
<div id="my_banner" align="center">DixonStudios</div>
Add this to your CSS.
#my_banner {
margin: 10px auto;
font-size: 250%;
color: #ccc;
font-family: Comic Sans MS, verdana;
}
dixonjg
Dec-04-2007, 08:45 PM
Allen,
Thanks for the reply. That wasn't exactly what I was looking for, but I like the results :)
I guess what I needed was a bit more complicated. When putting in the other code, I think I broke something else. I had previously had the homepage/gallery setup, with the slideshow on the homepage.
Ever since I change "something" it doesn't work. I was hoping that this would be an easy fix like yesterday.
Jason
Allen
Dec-04-2007, 08:50 PM
Allen,
Thanks for the reply. That wasn't exactly what I was looking for, but I like the results :)
I guess what I needed was a bit more complicated. When putting in the other code, I think I broke something else. I had previously had the homepage/gallery setup, with the slideshow on the homepage.
Ever since I change "something" it doesn't work. I was hoping that this would be an easy fix like yesterday.
Jason
Yal, see there are things missing. Firebug is reporting four errors.
The first error is because you're missing a closing } in your javascript which
stops you script and then the other errors surface because the script isn't finishing.
function createSWF( w, h, params) { (http://www.dgrin.com/)var args = "";
(http://www.dgrin.com/)for (var i in params) {
(http://www.dgrin.com/)args += i + "=" + params[i] + "&";
(http://www.dgrin.com/)}
}
dixonjg
Dec-04-2007, 09:00 PM
Ok, added that one, still no joy. How did you say you figured that out? Firebug?
Allen
Dec-04-2007, 09:03 PM
Ok, added that one, still no joy. How did you say you figured that out? Firebug?
Getting this error, it's right after the show code in your javascript.
unterminated string literal
document.writeln('<object width="100%" height="100%" align="middle">'+ '<param name="movie"
Edit: repaste in the whole flash javascript, that missing } might not be right.
The real code has no space after the plus here, probably some others also.
e">'+ '<par
See Firebug link in siggy.
Allen
Dec-04-2007, 09:14 PM
...
You lost this in your javascript, add it back in. Need it for the galleries page hack.
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
dixonjg
Dec-04-2007, 09:16 PM
You lost this in your javascript, add it back in. Need it for the galleries page hack.
function hasPath(sPath)
{
re = new RegExp("\/" + sPath + "(\/|$)");
return re.test(window.location)
}
AWESOME. . .Allen you are great!! All is good now! Thanks for all your help!
Jason
dixonjg
Dec-04-2007, 09:20 PM
AWESOME. . .Allen you are great!! All is good now! Thanks for all your help!
Jason
Ok. . the homepage works now, but the Gallery page isn't working correctly. It still shows the bio and not the Galleries.
Jason
Allen
Dec-04-2007, 09:21 PM
Ok. . the homepage works now, but the Gallery page isn't working correctly. It still shows the bio and not the Galleries.
Jason
You didn't add what's is post 8.
dixonjg
Dec-04-2007, 09:24 PM
You didn't add what's is post 8.
Yep, I totally missed that post !! Good to go now! For real this time :D
Thanks Again.
Jason
Allen
Dec-04-2007, 09:25 PM
Yep, I totally missed that post !! Good to go now! For real this time :D
Thanks Again.
Jason
:rofl You even replied to it.:D
Everything looks good now.:thumb
dixonjg
Dec-04-2007, 09:26 PM
:rofl You even replied to it.:D
Everything looks good now.:thumb
Yeah, that's what I get for messing with this at 1 AM for me!
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.