Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
New twist on select/options in form
Old 03-24-2007, 04:10 AM New twist on select/options in form
WebSavvy's Avatar
Extreme Talker

Posts: 166
Name: Deb
Trades: 0
I'm trying to do something a little out of the ordinary with my search form.

We have several different areas of search and they're selectable via the tabbed buttons at the top of the form (currently).

(Example: www.websavvy.cc)

The way I did this was to create <div> that are not displayed until one of the tabs is clicked on, and then it loads the search form for that search area into the <div>

It relies on JS, so for JS disabled browsers there's a text version that uses an option menu.

I'm redesigning the search form, and want to have an image button (select) that will pop open the options list which would do away with the need for JS and make it even more web accessible.

The problem is, this isn't easily done (that I know of). I've tried every way I can think of to do this and still no joy.

Does anyone have any suggestions on this one because I'm totally stumped.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
WebSavvy is offline
Reply With Quote
View Public Profile Visit WebSavvy's homepage!
 
 
Register now for full access!
Old 03-24-2007, 04:43 AM Re: New twist on select/options in form
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
Quote:
Originally Posted by WebSavvy View Post
I'm redesigning the search form, and want to have an image button (select) that will pop open the options list which would do away with the need for JS and make it even more web accessible.
Could you rephrase the question? Or point to an example of the effect you're trying to create, in action? Sounds like you want to build something like the color toolbar button in the reply form here?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 03-24-2007, 04:55 AM Re: New twist on select/options in form
WebSavvy's Avatar
Extreme Talker

Posts: 166
Name: Deb
Trades: 0
No ... it's something different.

Have a look at Google, and note the "More" option. When clicked on, it opens a selection menu.

I want to do something similar -- but using an image, and the selection menu would be the options list to search:

Directory
Video
Images
News
... and the rest of our searchable areas.

Make any more sense now?

I've been looking over code, and so far everything that could possibly be used is functional only when a browser is JS-enabled.

I thought maybe a ToolTip, or DHTML popup menu (when the image button is clicked) would be a good solution ... BUT, again they rely on JS.

I want to do something that doesn't rely on JS but achieves the same desired outcome (I'm not even sure if what I want to do is even possible?)
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
WebSavvy is offline
Reply With Quote
View Public Profile Visit WebSavvy's homepage!
 
Old 03-24-2007, 05:20 AM Re: New twist on select/options in form
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
The only non-java way I could imagine to make that work is actually requesting the page again, with a query string. And that's definitely not what you want.

I saw a tutorial on pop-outs using CSS and nothing else, will have to see if I can find the URL for you. I read it a couple of months ago, so this will take some digging, but maybe if I can find it, it can give you some ideas.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 03-24-2007, 05:36 AM Re: New twist on select/options in form
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
I haven't been able to find the link (yet), but this might be helpful?

http://www.positioniseverything.net/css-flyout.html
http://www.communitymx.com/content/a....cfm?cid=55A69

Will let you know if I can find the original one, though. These aren't exactly what you're looking for, but hopefully they'll be somewhat helpful...?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 03-24-2007, 05:49 AM Re: New twist on select/options in form
WebSavvy's Avatar
Extreme Talker

Posts: 166
Name: Deb
Trades: 0
Hey, Thanks Forrest!

I was just thinking about maybe doing this via the CSS route. What I'm thinking is, maybe setting the selections into an opti-group, and the opti-group background will be the "image" (not sure if it's possible -- have to try that first) and then set an option class in CSS to display:none until the opti-group header is hovered over.

Then, the group of selections (options) can be in a borderless list (sort of) that floats just off to the right of the button image used by the opti-group.

I did an image capture of what our new form will look like, and then added the options (like I want them to appear) by adding to the image using paintbrushes.

I'll attach a copy in the next post so you can see what I'm trying to do.

__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
WebSavvy is offline
Reply With Quote
View Public Profile Visit WebSavvy's homepage!
 
Old 03-24-2007, 06:09 AM Re: New twist on select/options in form
WebSavvy's Avatar
Extreme Talker

Posts: 166
Name: Deb
Trades: 0
<edited>

Woohoo! I fiddled around with my codes, some CSS floats, an on-hover class and I have it working now. (and it validates XHTML 1.1 !!!)

</edited>

Thanks for your help, Forrest.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by WebSavvy; 03-24-2007 at 10:16 AM..
WebSavvy is offline
Reply With Quote
View Public Profile Visit WebSavvy's homepage!
 
Reply     « Reply to New twist on select/options in form
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.19257 seconds with 12 queries