Hello,
I'm using a piece of javascript, shown below, that was working fine before I put the site online. In fact, perhaps before I passed the site to my programmer buddy.
Please take a look at this http://d599524362.bighost68.bighost.com.br/Namoda.aspx#
The link below the image grid effects the css to hide the first grid and display another full of taste links. These links also use the toggle idea to hide the whole page and display divs containing photos. An alternative to pop-ups perhaps.
Now it's online it's only working in IE. Damn!
Any ideas? I'm looking for a quick fix so I can finish the site tonight/tomorning.
Another problem with the same page:
(let me know if I should be posting a new thread for this)
I can't seem to limit the width of the div's containing the photos. "foto1", "foto2", etc. I'm included the css below. Any ideas please.
#foto1,#foto2,#foto3,#foto4,#foto5,#foto6,#foto7,#foto8,#foto9,#foto10,#foto11,#foto12 {
margin: 30px auto;
position: relative;
border: #695226 solid 1px;
border-width: 1px 1px 2px 1px;
padding: 0;
}
div#foto1 {
width: 398;
}
#foto2 {
width: 365;
}
Many thanks!
Here's the javascript:
function toggle(tag) {
if (tag.style.display=='') {
tag.style.display='none'
} else {
tag.style.display=''
}
}
function togglegal(tag, tag2) {
if (tag.style.display=='') {
tag.style.display='none'
} else {
tag.style.display=''
}
if (tag2.style.display=='') {
tag2.style.display='none'
} else {
tag2.style.display=''
}
}



Reply With Quote


Bookmarks