div windows

  • demonmaestro
  • Gold Member
  • Gold Member
  • User avatar
  • Posts: 679
  • Loc: Conroe, Texas

Post 3+ Months Ago

I am experimenting with a new script that i have found. some of it can be used via Ajax, iframe or just plain text but the issue i am finding myself having troubles with is having more than one div window open at a time.

http://www.planetpeeps.com/work/usermain.php
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8415
  • Loc: USA

Post 3+ Months Ago

You mean like a multiple drop up menu?

Something like the following image?

Image
Source: http://www.scriptiny.com/wp-content/upl ... n-menu.gif

Except it would be ... ummm... pull up?
  • demonmaestro
  • Gold Member
  • Gold Member
  • User avatar
  • Posts: 679
  • Loc: Conroe, Texas

Post 3+ Months Ago

no i mean like the div windows that was in that link that i pm'ed you.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8415
  • Loc: USA

Post 3+ Months Ago

What I see in the source are a couple DIVs that you told not to display.

<div id="mail" style="display:none; height:550px;">


...

Is that the problem?
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8415
  • Loc: USA

Post 3+ Months Ago

Oh I see what is going on... :lol: I had to try and use the links on the bottom menu. Me and my 2 brain cells :roll:
  • demonmaestro
  • Gold Member
  • Gold Member
  • User avatar
  • Posts: 679
  • Loc: Conroe, Texas

Post 3+ Months Ago

like i want to be able to open up inbox and the mail at the same time and anything else that comes up in there. bty the mail script does work..
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8415
  • Loc: USA

Post 3+ Months Ago

I figured out how to work it... took me a while.

Here is the code that you are using to open both of those DIV windows.

divwin=dhtmlwindow.open('divbox', 'div', 'inbox', 'INBOX', 'width=450px,height=300px,left=200px,top=150px,resize=1,scrolling=1'); return false
divwin=dhtmlwindow.open('divbox', 'div', 'mail', 'MAIL', 'width=450px,height=300px,left=200px,top=150px,resize=1,scrolling=1'); return false

You gave both of those DIV the same ID. I changed that code to...

divwin=dhtmlwindow.open('divbox', 'div', 'inbox', 'INBOX', 'width=450px,height=300px,left=200px,top=150px,resize=1,scrolling=1'); return false
divwin=dhtmlwindow.open('divbox2', 'div', 'mail', 'MAIL', 'width=450px,height=300px,left=200px,top=150px,resize=1,scrolling=1'); return false

and it now opens both of the DIV Windows at the same time... the only thing... they're both on top of each other, so you have to move one DIV window to be able to see the other. You fix that by changing the code that I colored blue (I'm sure you know... just saying).
  • demonmaestro
  • Gold Member
  • Gold Member
  • User avatar
  • Posts: 679
  • Loc: Conroe, Texas

Post 3+ Months Ago

o wow dont i just feel dumb.... just like php at times forgetting a quote or something can mess up the whole thing.. Also here soon i will be having a decent size job for you. Its just some side work but its a project to work on.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8415
  • Loc: USA

Post 3+ Months Ago

Happens to the best of us. I hate logical errors in code. Takes so long to find them.

I'm ready :D

Post Information

  • Total Posts in this topic: 9 posts
  • Users browsing this forum: No registered users and 99 guests
  • 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 post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.