Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I want to buid a web page. The page contains a drop down which should look like this:
alt text http://img694.imageshack.us/img694/9350/dropdown.png
Is it possible using CSS or I would need to use a image with some javascipt?
You won't be able to style a select box like this. You have to make a custom one using JavaScript.
You can make using this jquery plugin
http://www.dfc-e.com/metiers/multimedia/opensource/jqtransform/
Yes it's possible without Javascript as long as the dropdown is to open automatically when you move the mouse over the button. "Son of suckerfish" is a popular drop-down menu implementation with only minimal added Javascript for older browsers, I have never used it for a standalone button but it should be easy to achieve.
A click-sensitive dropdown can't, to my knowledge, be done using pure CSS.
Edit: on second reading, I'm not sure what exactly you mean. Are you talking about the hand-drawn look of the button, or the behaviour of a dropdown button?
You would need to use a combination of CSS and javascript to create a custom select box. Unfortunately, elements aren't very stylable in most browsers.
EDIT
An example: http://lab.aspektas.com/select/select.html
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
hello i want to make a website i want for the users to pick a color blue white and black without reloading the page. when the user picks a color then he has the option of adding text on top of the color image and also has the option of adding an image. i want to sell shirts where the customer can pick and choose a color of the shirt then he or she can add a text and or image like custom ink does when u want to order a shirt. i would like to use jquery if its possible. i have not tried anything because i dont know where to start iam new to coding
Since you are new you should look into the basics of jQuery. This could help you:
First steps jQuery
Also.. if you want to change backgrounds or general css you can look at:
jQuery CSS and jQuery addClass
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I tried to generate the keywords as buttons, but how do I get the X in the button so that it can be removed by user?
http://blog.pond5.com/wp-content/uploads/2015/03/Screen-Shot-2015-03-30-at-11.46.46-AM.png
Thanks
You can't have a button within a button. I would suggest one of two approaches to get a similar effect:
1. Forget about the "X" and make the whole button function as "Delete".
This is the easiest approach. Leave your buttons as they are, create an event handler for their click event to delete the tag (as you seem to have been planning to do with the "X" click), and possibly clarify a little to your user that clicking a tag will delete it.
2. Place an "X" button and a label for the tag name, possibly within a a container (such as a groupbox).
This takes slightly more effort but gets the functionality much closer to what you want. The label shows the tag name, the button is labeled "X", and clicking the button removes both (or the container, if you prefer that look). If you haven't already created a custom class for your tags, it would probably be worth doing so and declaring these controls as properties.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I've build a wordpress template here at: http://mountsrepeats.co.uk
I've added some new pages off the 'Services' page so was wondering how I am supposed to have a dropdown appear when I hover over the services link on the navigation bar?
Is this a setting within WordPress or do I need to add some custom CSS to my stylesheet?
Thanks!
You'll need to use CSS and Javascript most likely. I know it can be done with pure CSS but Javascript tends to have better cross-browser compatability. Try looking into one of these plugins:
noupe
WebDesignDev
codecanyon - pure CSS (Costs $5)
CSS play - pure CSS
I'm not 100% familiar with WordPress, but you shouldn't need to mess with any settings on their end, just apply the code and go.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Is there a way to control the width and height of an entire web page in IE using CSS only? I ask, because IE for some reason refuses to play nice.
http://kaboomlabs.com/PDI/test.php?id=1
This page shows everything on IE as one page, but when I go to print it, it prints on one page, and the other is blank. There is not enough data to push onto two pages, also make sure your header and footer is off. Or there maybe two pages...
Mind you, you may have to view this in compatibility mode, I have yet to figure out why, if anyone can tell me why to that it would be greatly appreciated as well.
Thanks in advance.
Your problem is all the negative tops. They still add size to the body. You want to use floats instead of forcing negative locations.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
This question was asked a few years ago, so I'm going to ask it again.
I'm looking for the best/cleanest option to display a modal popup window upon the click event of an ASP Button control. The contents of the window will be an aspx page.
Cross-browser compatibility is a requirement
jquery/plugins aren't out of the question if they fit the mold.
There are a host of options in the jQuery field:
jQueryUI's dialog
Wijmo's Dialog
SimpleModal
These are just three options out of many. jQueryUI is pretty easy to use out of the box, but isn't as customizable (or easy to) and "pretty" as SimpleModal. At their core, their pretty much all very similar.
If you'd already using jQuery, jQueryUI's option may be a good fit. Wijmo is also jQueryUI compatible/friendly (use the same theme CSS class names and patterns), so it's also a good fit.
So it kind of depends on what you want. Something very simple - maybe jQueryUI. Flashy/pretty -- SimpleModal. More complex but jQueryUI-friendly - Wijmo.
I have had no problems with the ModalPopupExtender in the AjaxControlToolkit, which will do exactly what you are intending.
The sample site for the modal popup is at http://www.asp.net/ajax/ajaxcontroltoolkit/samples/modalpopup/modalpopup.aspx
Note that the tool kit is free, and that it extends the base ASP.Net controls.
Lightbox Gone Wild is insanely quick to integrate, the contents can also be an aspx page.