PDA

View Full Version : Need A Reference Help


Crash1hd
04-06-2003, 09:56 AM
Ok what I am trying to do is the following.....

I want to be able to click on a button and say I have a box in the center of the screen that is about 30 inchs wide and say about 10 inchs long but when you click the button the box would then extend to be about 50 inchs long!

Does anyone know of a way or seen a similar site that does the same as mentioned above any refernces would be apreciated!

Crash1hd

p.s. I found a site that does something similar to what I am looking to do yet I am not sure how its done!

http://www.stilleye.com

Click on the Navigate

raf
04-06-2003, 10:24 AM
Are you planning on doing this serversided ?
Then just resend the page but change the width propertys.

If it's clientsided, then use Javascript or a javaapplet or embedded XML

Crash1hd
04-06-2003, 12:02 PM
would be doing it serverside! So I am just not sure how the dropdown part works and well Actually I need it to drop up!

raf
04-06-2003, 12:56 PM
Hmm. This sort a things is easier clientsided + probably better performance if it all runs clientsided.

I looked at the link, but it looks something completely different as you described.

To do what you described, i would simply work with a floating box. I'd set a flag (or add an value t the querystring) if the page was first loaded, and on second load, i'd check for the flag (or querystring) (which will be set then) and set the floating box coordinates and size depending on wether the flag (querystringvalue was set. This way you can position it wherever you want, depending on the action that (re)requested the page.

This will surely work, but it's not the easiest and most effective way.

Why does it have to be serversided?

Crash1hd
04-07-2003, 11:07 AM
Oh It doesnt have to be server side I just figured that they way he/she did it on there site was serverside! but the drop down when you click on the navigate is exactly what I am trying to do to a T! I may not have explained it properly before!

Crash1hd