PDA

View Full Version : Help !!


david sommars photography
Apr-11-2008, 08:52 PM
Ok, heres my simple question !!

I use one website for weddings, www.uniqimage.com and another for fine art
www.davidsommars.com

I have some custom javascript menu for uniqimage and its somewhat integrated into my smugmug header, but without graphics, (so it runs quick)

http://prints.uniqimage.com/

I just want to be able to NOT use that header on my art gallery Which is not finished yet, but its here:

http://prints.uniqimage.com/art

I need to display the menu from davidsommars.com in my smugmug galleries in my /ART section


What info do you guys need to help me ?

Here are the URLS again, pleast let me know what info I need to paste here for you to see....thanks in advance

-david sommars


www.uniqimage.com (http://www.uniqimage.com)
www.davidsommars.com (http://www.davidsommars.com)


-----------------------------------------

this is my header html from smugmug
-----------------------------------------

******** language="JavaScript" type="text/javascript" src="http://uniqimage.com/menu.js"></********


------------------------------------------------------------


on davidsommars.com this is the html for my menu


<td height="29" colspan="3" nowrap="nowrap" bgcolor="#000000"

class="navText style6" id="navigation"><span class="navText"><a href="/contact.html">CONTACT</a><ahref="javascript:;"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="/news.html">NEWS</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://uniq.smugmug.com/Art">GALLERIES </a>&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
<a href="/printquality.html">PRINT QUALITY </a>&nbsp;&nbsp; &nbsp;
<a href="/resources.html">RESOURCES</a><a href="javascript:;"></a>
<a href="javascript:;"></a></span></td>
----------------------------------------------------


BTW if I simply put the html into my header it works, but i get both menus at once !!

david sommars photography
Apr-12-2008, 02:09 PM
I tried this code in the CSS section

#menu2,
.category_weddings #menu1

.category_art #menu2

.category_art #menu1 {display:block;}


-----------
and this in the header

<div class="navcontainer">

<div id="menu1">
******** language="JavaScript" type="text/javascript" src="http://uniqimage.com/menu.js"></********



<div id="menu2">
<td height="29" colspan="3" nowrap="nowrap" bgcolor="#000000"

class="navText style6" id="navigation"><span class="navText"><a href="/contact.html">CONTACT</a><ahref="javascript:;"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="/news.html">NEWS</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://uniq.smugmug.com/Art">GALLERIES </a>&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
<a href="/printquality.html">PRINT QUALITY </a>&nbsp;&nbsp; &nbsp;
<a href="/resources.html">RESOURCES</a><a href="javascript:;"></a>
<a href="javascript:;"></a></span></td>


what am I doing wrong ?


I can see the 2 menus at the same time,

how can I tell it the /ART section and its galleries to be menu 2 and the rest to be menu 1 ?

david sommars photography
Apr-12-2008, 11:09 PM
bump!

david sommars photography
Apr-13-2008, 09:06 AM
wow,

allready at the bottom of the page again.
115 views and nothing !!!

Is my post too confusing, anything ?

denisegoldberg
Apr-13-2008, 09:20 AM
The entries you made in the CSS section aren't correct from a syntax standpoint. And your request is a bit confusing to me because your question seems to be asking about both a smugmug site and a non-smugmug site.

Are you trying to use one menu for everything except the art category, and a different menu there? If that's what you're looking for, try this and see if it gets you any closer:

#menu1 {
display: block;
}
#menu2 {
display: none;
}
.category_art #menu1 {
display: none;
}
.category_art #menu2 {
display: block;
}

If you are trying to do something else entirely, please ask again.

--- Denise

david sommars photography
Apr-13-2008, 10:54 AM
Yes they are 2 sites, but they are both mine and both using the smug mug for galleries and print purchasing.
wether or not I host my info and resource pages on smugmug the purchasing comes here, so its all good...
I know my post was probably confusing, thanks for responding !!!

Yes your deduction is correct,
using one menu for everything except the art category, and a different menu there is exactly what I wanted !!!

I will try and play with this code until I get it right.

thanks again, your awesome.

david sommars photography
Apr-13-2008, 12:40 PM
Thanks again,

So, I leave my header the way it is right ?
and I play with your code in the CSS section ? If I add your code line for line into the CSS section and leave the header as seen below, then
nothing loads, no pictures at all, ..

Just making sure, I do suck at coding... sorry.

Also,
will this change the menu for the art landing page as well as the galleries inside it ? Or do I need to add something for each art gallery # too

tks in advance
Text below picture.

http://www.uniqimage.com/forum/april08/untitled2.JPG


---------------------------------------------------------------------
<div class="navcontainer">

<div id="menu1">
******** language="JavaScript" type="text/javascript" src="http://uniqimage.com/menu.js"></********



<div id="menu2">
<td height="29" colspan="3" nowrap="nowrap" bgcolor="#000000"

class="navText style6" id="navigation"><span class="navText"><a href="/contact.html">CONTACT</a><ahref="javascript:;"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="/news.html">NEWS</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://uniq.smugmug.com/Art">GALLERIES </a>&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;
<a href="/printquality.html">PRINT QUALITY </a>&nbsp;&nbsp; &nbsp;
<a href="/resources.html">RESOURCES</a><a href="javascript:;"></a>
<a href="javascript:;"></a></span></td>

david sommars photography
Apr-13-2008, 07:03 PM
bump

david sommars photography
Apr-14-2008, 06:44 AM
Bump !!

I put the code in Denise, and if I do that NOTHING on the page shows up !!!

help !!!



tks..

denisegoldberg
Apr-14-2008, 07:53 AM
Bump !!
I put the code in Denise, and if I do that NOTHING on the page shows up !!!

help !!! tks..
David -
Unfortunately I'm at work (or fortunately since that's how I get paid!), and I can't look at this at all right now.

I think that maybe this thread with a detailed post by Allen about different navbars for categories will send you in a better direction - http://www.dgrin.com/showthread.php?t=88880&highlight=banner+category.

--- Denise

david sommars photography
Apr-14-2008, 12:36 PM
David -
Unfortunately I'm at work (or fortunately since that's how I get paid!), and I can't look at this at all right now.

I think that maybe this thread with a detailed post by Allen about different navbars for categories will send you in a better direction - http://www.dgrin.com/showthread.php?t=88880&highlight=banner+category.

--- Denise

Thank you !! :lust

I will check these out. I appreciate you trying to help me and please forgive my coding shortcomings !!!

david sommars photography
Apr-15-2008, 07:50 PM
Thank you Allen. !!!


Everyone helped saved the day totally...

I was able to get the simple menus I wanted on the places I wanted thanks to allen, and eveyones help really, denise, andy, barb , etc.....
Thanks everyone !!!


This is what I came up with after expiramenting for hours....
I think the reason I have to do each gallery individually
is that I have java in my wedding sites menu. And
I am not advanced enough to navcontainer around the java
this works, so im not changing it !!! lol


this is what worked for anyone else with a wacky website like mine.



CSS
------------
.gallery_2683934 #navcontainer1 {display: none;}
.gallery_4036418 #navcontainer1 {display: none;}
.gallery_4036480 #navcontainer1 {display: none;}

.gallery_3749432 #navcontainer2 {display: none;}
.gallery_3756826 #navcontainer2 {display: none;}
.gallery_3205909 #navcontainer2 {display: none;}
.gallery_3756891 #navcontainer2 {display: none;}
.gallery_3201986 #navcontainer2 {display: none;}
.gallery_3756898 #navcontainer2 {display: none;}
.gallery_3200903 #navcontainer2 {display: none;}
.gallery_3756905 #navcontainer2 {display: none;}
.gallery_3756916 #navcontainer2 {display: none;}
.gallery_3200898 #navcontainer2 {display: none;}
.gallery_3756855 #navcontainer2 {display: none;}
.gallery_3200890 #navcontainer2 {display: none;}
.gallery_3756865 #navcontainer2 {display: none;}
.gallery_3200880 #navcontainer2 {display: none;}
.gallery_3200829 #navcontainer2 {display: none;}
.gallery_3205921 #navcontainer2 {display: none;}
.gallery_3756881 #navcontainer2 {display: none;}
.gallery_3200732 #navcontainer2 {display: none;}
.gallery_3756843 #navcontainer2 {display: none;}
.gallery_3200218 #navcontainer2 {display: none;}
.gallery_3458741 #navcontainer2 {display: none;}
.gallery_3458798 #navcontainer2 {display: none;}
.gallery_3459604 #navcontainer2 {display: none;}
.gallery_3756938 #navcontainer2 {display: none;}
.gallery_4357935 #navcontainer2 {display: none;}

.homepage #navcontainer2 {display: none;}

.category_Art #navcontainer1 {display: none;}



-----------------------------
header
------------------------
<div id="navcontainer1" class="menu">
<ul>
******** language="JavaScript" type="text/javascript" src="http://uniqimage.com/menu.js"></********
</ul>
</div>



<div id="navcontainer2" class="menu">
<ul>
<td height="29" colspan="3" nowrap="nowrap" bgcolor="#000000"

class="navText style6" id="navigation"><span class="navText">

<a href="/contact.html">CONTACT</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="/news.html">NEWS</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://uniq.smugmug.com/Art">GALLERIES </a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="/printquality.html">PRINT QUALITY </a>&nbsp;&nbsp; &nbsp;
<a href="/resources.html">RESOURCES</a></span></td>
</ul>
</div>
---------------------------------------------------