Ill check it out as soon as I get back home...our school is blocking it,
I really really hope you're gonna use CSS2+divs+XHTML 1.0 strict instead of that 4.01 transitional junk. Wink
KermMartian wrote:
I really really hope you're gonna use CSS2+divs+XHTML 1.0 strict instead of that 4.01 transitional junk. Wink


its a MOCK UP Kerm Razz so i doubt its going to change at all
Hey, that actually looks pretty sweet atm!
So can anyone tell me how you like? I used Div's in that one btw, no XHTML though, I dont even know XHTML yet, I have been to lazy to look at learning it, just like all the other languages I still need to learn Razz (that includes ASM Laughing )
it does indeed look sweet.
@Swivel: XHTML = HTML except:

>> no mixed-case tags
>> ending for orphan tags required
>> some other stuff.
Such as <br /> over <br>, <img ... />, etc.
Hey I need some help with some HTML coding. I am trying to make 2 differant DIV windows that will change visibility at differant times. I will write the code out below(at least what I can, not sure if I can get away with plugging my flash drive in.)


Code:
<HTML>
<HEAD>
<script language="javascript">
var refera=true;
var referb=true;
function comboa() {
if (refera) {
  document.all.contentsa.style.visibility="visible";
  document.all.contentsa.style.width="650px";
  document.all.contentsa.style.height="450px";
  refera=false;
}
else {
  document.all.contentsa.style.visibility="hidden";
  document.all.contentsa.style.width="1px";
  document.all.contentsa.style.height="1px";
  refera=true;
}
}

function combob() {
if (referb) {
  document.all.contentsb.style.visibility="visible";
  document.all.contentsb.style.width="650px";
  document.all.contentsb.style.height="450px";
  referb=false;
}
else {
  document.all.contentsb.style.visibility="hidden";
  document.all.contentsb.style.width="1px";
  document.all.contentsb.style.height="1px";
  referb=true;
}
}
</script>
</head>
<body>
<img src="picture.extention" onclick="comboa" \>
<img src="picture.extention" onclick="combob" \>
<div id="contentsa" style="left:20; right:20; position:absolute; height:1px; width=1px; visibility="hidden">[Any contents go here]</div>
<div id="contentsb" style="left:80; right:80; position:absolute; height:1px; width=1px; visibility="hidden">[Any other contents go here]</div>
</body>
</html>


So there it is, please help with this, remeber I have 2 DIV's and I want them to change visibility at differant times, but for some reason it changes both visibilities at the same time.
Do you have anything working atm? Also, would a simple switch be ok, or would you prefer some kind of fade?
Ethar one, what I have working is everything accept that. I am working on all the other stuff once I get that problem fixed. I just need to be able to have multiple DIVS that appear at differant times, even if that means completely differant code. I just need some internal windows that can have picture and text content(also I would like it to be movable, but I could'nt get that to work after I tried it once, it worked at first but everytime I changed on line of code the whole thing screwed up. Neutral .
OK, this is easy. Will you always have that number and names of divs, or does it need to be dynamic?
The names and numbers of the DIV's were just put in as a test. They were just used so I had something. I actually need about 6 DIV's(lolz) and then names can be pretty much anything but they need to be kinda basic for easy coding and fast accociation.
Alrighty. But what I'm saying is, is there going to be dynamic on-the-fly creation of divs?
I do not know what you mean. Confused , dangit an you just logged off too.
I mean do you use the same divs on every page? Or does your php script or java create arbitrarily-named divs on the fly?
Well, with my new site it will just be one page as the main one and it will have all the content of the site on that page, I may make some content as individual pages and then have the main page use iframes in the DIV's or something. It uses one page, and does not create names, they are pre-coded.
Oh excellent, that makes life a ton easier. Lemme bang something together.
ok awsome, I have to go for now, but I might be able to hop on for sec a little later to get the code and say thanks.

Btw, Thanks( Razz )
Heh, don't worry about it, that's what we're here for. Smile
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 3 of 5
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement