PDA

View Full Version : Floating menu thing..


jharriso
05-19-2005, 12:23 PM
I'm building a page for the Critical Languages Program, and I have a page design in mind, but am unable to actualize that vision. What I want is a left justified, automatically resizing menu with a curve taken out.
_
|(

Kinda like that..
Prototype page is here: http://clp.arizona.edu/cls/kaz3
Simple, I know, but it's what they want.
I need it to stay on screen all the time, I would prefer to avoid frames.. I've been searching high and low for a javascript that will do what I'm asking, but have, as yet, been unable to fine one. Any ideas or links would be greatly appreciated.

-Josh

fischerm
05-19-2005, 01:54 PM
Wow that's actually really hard to do with DHTML I think. You might get decent results with a large static graphic that you use as a background in a table or div, and let it be resized by the browser. I could see something working if you had a top and bottom piece that were static, with a resizable section in the middle, however the middle part would be straight, so the smooth curve would be lost. You could do the whole thing in flash :) Might be able to do something with SVG... but that's beyond my knowledge. If you wanted to do a lot of math, you could maybe have javascript figure out the required height of the cell, and pick a different graphic for the background based on that...

Honestly I would go with a different design :)

fturtle
05-19-2005, 02:52 PM
There's a UofA website somewhere out there that has something like that...I just saw it a couple days ago. If I come across it again I'll post it here.

abudhu
05-19-2005, 08:57 PM
I have to agree with mark. While its quite easy to use DHTML or Javascript to make sliding menus, making it Slide out with a Curve(?) or have a Curve to begin with, that relativly sizes as you add menus would be a massive pain in the ass. Good luck on trying to code that one.

Flash would be your best bet, or Static images that just act as rollovers...Or Some mad Coding skills.

Interested to see this website you mentioned Kyle.

jharriso
05-20-2005, 11:54 AM
I don't actually need the menu integrated into the curve, I'd probably just use the js menu I have up there already. They want me to avoid flash, though they say javascript is fine..