Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Post Processing, Marketing & Presenting Photos Presentation & Building Galleries 
Thread started 29 May 2011 (Sunday) 14:07
Search threadPrev/next
sponsored links (only for non-logged)

Navbar CSS Conflict in Blogger site, but not SmugMug - HELP!!!

 
MNUplander
Goldmember
2,534 posts
Gallery: 10 photos
Likes: 134
Joined Oct 2009
Location: Duluth, MN
     
May 29, 2011 14:07 |  #1

Hi everyone -

I'm trying to incorporate the same drop down menu I use on my SmugMug site www.northerncaptures.c​om (external link) into my Blogger site. However, I appear to be having some CSS conflicts with the sub-menus hiding underneath the body of my page. My blogger site is http://northerncapture​s.blogspot.com/ (external link).

Im no expert with this stuff so Ive already exhausted every idea I can think of. Could someone with the knowledge to help PLEASE take a look at this?

You can reference my SmugMug site to see how I want this NavBar to display.

If anyone could help, I would REALLY appreciate it.


Lake Superior and North Shore Landscape Photography (external link)
Buy & Sell Feedback
R6, EF16-35 f4 IS, EF 50 1.2, EF 100 2.8 IS Macro, 150-600C

  
  LOG IN TO REPLY
Hikin ­ Mike
Walkin' Like a Penguin Now!
Avatar
6,354 posts
Gallery: 16 photos
Likes: 354
Joined Aug 2005
Location: Atwater, CA
     
May 29, 2011 17:02 |  #2

I'm no expert, especially with Javascript, but it looks like you have some format issues when you copied your Smugmug code to your Blogger site.

The Nav code from your Smugmug site:


<ul id='sddm'>
<li><a href='http://northernc​aptures.com'>Home</a></li>
<li><a onmouseout='mclosetime​()' onmouseover='mopen(\'m​1\')'>Galleries</a>
<div id='m1' onmouseout='mclosetime​()' onmouseover='mcancelcl​osetime()'>
<a href='http://northernc​aptures.com/Venture-North/Venture-North'>Venture North</a>
<a href='http://northernc​aptures.com/Lake-Superior-Photography/Lake-Superior-Photography'>Lake Superior</a>
<a href='http://northernc​aptures.com/Duluth-Minnesota-Photography/Duluth-Minnesota-Photography'>Duluth, Minnesota</a>
<a href='http://northernc​aptures.com/Northern-Landmarks/Northern-Landmarks'>Northern Landmarks</a>
<a href='http://northernc​aptures.com/BeyondtheA​rrowhead/Other-Landscapes'>Beyond the Arrowhead</a>
</div>
</li>
<li><a onmouseout='mclosetime​()' onmouseover='mopen(\'m​2\')'>Purchase</a>
<div id='m2' onmouseout='mclosetime​()' onmouseover='mcancelcl​osetime()'>
<a href='http://northernc​aptures.com/Purchase/P​urchase-Information'>Products</a>
</div>
</li>
<li><a onmouseout='mclosetime​()' onmouseover='mopen(\'m​3\')'>About</a>
<div id='m3' onmouseout='mclosetime​()' onmouseover='mcancelcl​osetime()'>
<a href='http://northernc​aptures.com/Guestbook/​Guestbook'>Guestbook</a>
<a href='http://northernc​aptures.wufoo.com/form​s/z7x4a3/' onclick='window.open(t​his.href, null, \'height=579, width=680, toolbar=0, location=0, status=1, scrollbars=1, resizable=1\'); return false' title='Contact Brett Nord'>Contact Me</a></div>
</li>
</ul>

Your Blogger site:

<ul id="sddm">
<li><a href="http://northernc​aptures.com">Home</a></li>
<li><a
onmouseover="mopen('m1​')"
onmouseout="mclosetime​()">Galleries</a>
<div id="m1"
onmouseover="mcancelcl​osetime()"
onmouseout="mclosetime​()">
<a href="http://northernc​aptures.com/Venture-North/Venture-North">Venture North</a>
<a href="http://northernc​aptures.com/Lake-Superior-Photography/Lake-Superior-Photography">Lake Superior</a>
<a href="http://northernc​aptures.com/Duluth-Minnesota-Photography/Duluth-Minnesota-Photography">Duluth, Minnesota</a>
<a href="http://northernc​aptures.com/Northern-Landmarks/Northern-Landmarks">Northern Landmarks</a>
<a href="http://northernc​aptures.com/BeyondtheA​rrowhead/Other-Landscapes">Beyond the Arrowhead</a>
</div>
</li>
<li><a
onmouseover="mopen('m2​')"
onmouseout="mclosetime​()">Purchase</a>
<div id="m2"
onmouseover="mcancelcl​osetime()"
onmouseout="mclosetime​()">
<a href="http://northernc​aptures.com/Purchase/P​urchase-Information">Products</a>
</div>
</li>
<li><a
onmouseover="mopen('m3​')"
onmouseout="mclosetime​()">About</a>
<div id="m3"
onmouseover="mcancelcl​osetime()"
onmouseout="mclosetime​()">
<a href="http://northernc​aptures.com/Guestbook/​Guestbook">Guestbook</a>
<a href="http://northernc​aptures.wufoo.com/form​s/z7x4a3/" onclick="window.open(t​his.href, null, 'height=579, width=680, toolbar=0, location=0, status=1, scrollbars=1, resizable=1'); return false" title="Contact Brett Nord">Contact Me</a></div>
</li>
</ul>

Without going into details, I would suggest re-copying the code from your Smugmug code from here and copy it in the appropriate spot on your Blogger again.

Images in the Backcountry (external link)
Canon 5D 17-40 Ճ/4L 300 Ճ/4L IS 70-200 Ճ/4L 50 Ճ/1.8 1.4x TC Օ Kenko Ext. Tubes

  
  LOG IN TO REPLY
MNUplander
THREAD ­ STARTER
Goldmember
2,534 posts
Gallery: 10 photos
Likes: 134
Joined Oct 2009
Location: Duluth, MN
     
May 29, 2011 19:10 |  #3

Hmmm...at first I thought it was just differences in the line breaks, but upon closer inspection I see that the lines "<li><a onmouseout='mclosetime​()' onmouseover='mopen(\'m​1\')'>Galleries</a>" are displayed differently on each.

When I try to paste it he way it appears in the smugmug code into blogger, I get the error below - but I dont see any statements beginning with <a left unclosed in either version of the code...

Please correct the error below, and submit your template again.
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Element type "a" must be followed by either attribute specifications, ">" or "/>".

Thanks for your help! (Again!)


Lake Superior and North Shore Landscape Photography (external link)
Buy & Sell Feedback
R6, EF16-35 f4 IS, EF 50 1.2, EF 100 2.8 IS Macro, 150-600C

  
  LOG IN TO REPLY
Hikin ­ Mike
Walkin' Like a Penguin Now!
Avatar
6,354 posts
Gallery: 16 photos
Likes: 354
Joined Aug 2005
Location: Atwater, CA
     
May 29, 2011 19:23 |  #4

MNUplander wrote in post #12500726 (external link)
Hmmm...at first I thought it was just differences in the line breaks, but upon closer inspection I see that the lines "<li><a onmouseout='mclosetime​()' onmouseover='mopen(\'m​1\')'>Galleries</a>" are displayed differently on each.

When I try to paste it he way it appears in the smugmug code into blogger, I get the error below - but I dont see any statements beginning with <a left unclosed in either version of the code...

Please correct the error below, and submit your template again.
Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: Element type "a" must be followed by either attribute specifications, ">" or "/>".

Thanks for your help! (Again!)

I'm not very good with explaining things, but that's what I was talking about. :o :lol:

I guess it didn't work. You can try and add more positive 'z-index' in your CSS. You have it set at 99 right now. Maybe 1000? But it didn't work when I tried it using Firebug Tools in Firefox.

FWIW, there's no need to use Javascript for your navigation. You can do the same thing with just CSS.


Images in the Backcountry (external link)
Canon 5D 17-40 Ճ/4L 300 Ճ/4L IS 70-200 Ճ/4L 50 Ճ/1.8 1.4x TC Օ Kenko Ext. Tubes

  
  LOG IN TO REPLY
MNUplander
THREAD ­ STARTER
Goldmember
2,534 posts
Gallery: 10 photos
Likes: 134
Joined Oct 2009
Location: Duluth, MN
     
May 29, 2011 19:28 |  #5

Hikin Mike wrote in post #12500777 (external link)
I'm not very good with explaining things, but that's what I was talking about. :o :lol:

I guess it didn't work. You can try and add more positive 'z-index' in your CSS. You have it set at 99 right now. Maybe 1000? But it didn't work when I tried it using Firebug Tools in Firefox.

FWIW, there's no need to use Javascript for your navigation. You can do the same thing with just CSS.

Unfortunately, Ive played with the z-index to no end.

As for the javascript - I thought that piece was required to make it work in IE and Firefox...Ill explore this more but Im not sure that would solve the issue, but Im about ready to try anything at this point.

Thanks!


Lake Superior and North Shore Landscape Photography (external link)
Buy & Sell Feedback
R6, EF16-35 f4 IS, EF 50 1.2, EF 100 2.8 IS Macro, 150-600C

  
  LOG IN TO REPLY
ClickHappy
Senior Member
308 posts
Joined Aug 2009
Location: Richmond, VA
     
Jun 01, 2011 21:11 |  #6

It appears you've changed things around so I don't see the code on your blogger site anymore, but going from the posted code, instead of escaping the single quotes in the code from smugmug, try using both single and double quotes on the blogger site before pasting it in, as it looks like it is trying to convert it anyway and may be causing the xml validation errors.


- Chris | Website (external link) | Facebook (external link)

  
  LOG IN TO REPLY
MNUplander
THREAD ­ STARTER
Goldmember
2,534 posts
Gallery: 10 photos
Likes: 134
Joined Oct 2009
Location: Duluth, MN
     
Jun 03, 2011 11:35 |  #7

ClickHappy wrote in post #12519260 (external link)
It appears you've changed things around so I don't see the code on your blogger site anymore, but going from the posted code, instead of escaping the single quotes in the code from smugmug, try using both single and double quotes on the blogger site before pasting it in, as it looks like it is trying to convert it anyway and may be causing the xml validation errors.

Yes, you're right - I took that d@mn thing off the Blogger page because I was tired of messing with it. But, its going to bother me in the back of my mind until I figure it out so Ill give you suggestion a shot.

Thanks!


Lake Superior and North Shore Landscape Photography (external link)
Buy & Sell Feedback
R6, EF16-35 f4 IS, EF 50 1.2, EF 100 2.8 IS Macro, 150-600C

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

1,652 views & 0 likes for this thread, 3 members have posted to it.
Navbar CSS Conflict in Blogger site, but not SmugMug - HELP!!!
FORUMS Post Processing, Marketing & Presenting Photos Presentation & Building Galleries 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is Marcsaa
503 guests, 155 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.