div windows

  • demonmaestro
  • Gold Member
  • Gold Member
  • User avatar
  • Joined: Jun 21, 2006
  • Posts: 478
  • Loc: Conroe, Texas
  • Status: Offline

Post May 9th, 2011, 9:30 pm

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
Thanks, Josh --DemonMaestro
www.LilNetwork.com
Fun Website www.ShoutsCloud.com
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 9th, 2011, 9:30 pm

  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post May 10th, 2011, 12:58 am

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?
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • demonmaestro
  • Gold Member
  • Gold Member
  • User avatar
  • Joined: Jun 21, 2006
  • Posts: 478
  • Loc: Conroe, Texas
  • Status: Offline

Post May 10th, 2011, 1:01 am

no i mean like the div windows that was in that link that i pm'ed you.
Thanks, Josh --DemonMaestro
www.LilNetwork.com
Fun Website www.ShoutsCloud.com
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post May 10th, 2011, 1:06 am

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?
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post May 10th, 2011, 1:09 am

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:
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • demonmaestro
  • Gold Member
  • Gold Member
  • User avatar
  • Joined: Jun 21, 2006
  • Posts: 478
  • Loc: Conroe, Texas
  • Status: Offline

Post May 10th, 2011, 1:26 am

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..
Thanks, Josh --DemonMaestro
www.LilNetwork.com
Fun Website www.ShoutsCloud.com
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post May 10th, 2011, 1:44 am

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).
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • demonmaestro
  • Gold Member
  • Gold Member
  • User avatar
  • Joined: Jun 21, 2006
  • Posts: 478
  • Loc: Conroe, Texas
  • Status: Offline

Post May 10th, 2011, 2:03 am

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.
Thanks, Josh --DemonMaestro
www.LilNetwork.com
Fun Website www.ShoutsCloud.com
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post May 10th, 2011, 2:09 am

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

I'm ready :D
"Bring forth therefore fruits meet for repentance:" Matthew 3:8

Post Information

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

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.