Hi, so I've got this content loader that replaces content within a div with content from a separate page. But the content that arrives contains a menu that uses jQuery and this is not working. Someone told me I need to reinitialize the code. But how do I do that? I've looked into .ajaxComplete(), but I don't really get how I'm supposed t...
Hi, at this page new customer, there is some clash between the two scripts. I have been asked to make the content shown when clicking the "ny kunde" button.
This script works fine now, thanks to Voyta.
There is another script made by another person that finds Company CEO information and inputs the data into the fields.
When I put th...
Hi, I am a Javascript/jQuery/Prototype newcomer and I have a page that has a Prototype function to get info from a database and put it into some input fields. This was made before I came to work on this site and now I've been asked to add a hide/show div function.
I tried it in jQuery and there were clashes with the two frameworks, (as ...
On my new customer page, I have successfully implemented a jQuery show/hide toggle alongside a Prototype script using jQuery's .noconflict. (Thanks to all for answers!)
But as the world of the net is, IE's not playing ball.
<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript">
</script>
<script type="text/javas...
I'm looking to create a flexible width/height page layout with no window scrollbars!
Any content that will not fit on the page should be scrollable independently with the overflow property.
I've seen plenty of ways to construct flexible width layouts using just HTML and CSS.
The following site does a pretty good job on that front: htt...
What's the best way to make an element unselectable using jQuery?
I know you can use onselectstart="return false;" ondragstart="return false;" in the HTML, but I'm not sure how cross browser compatible that is.
I also see someone's made a jQuery plugin: http://plugins.jquery.com/project/Unselectable .. would a plugin like that be neces...
I have a selector that could look like this:
<label for="testselector">Test</label><br />
<select id="testselector" name="test[]" size="5" multiple="multiple">
<option name="test_1" value="1">Test Entry X</option>
<option name="test_3" value="2">Test Entry Y</option>
<option name="test_5" value="5">Test Entry Z</option>
</se...
I've fixed my footer DIV to the bottom of the viewport as follows:
#Footer
{
position: fixed;
bottom: 0;
}
This works well if there isn't much content on the page. However, if the content fills the full height of the page (i.e. the vertical scroll bar is visible) the footer overlaps the content, which I don't wont.
How can I ...
I am working with Hijaxing and I will have three buttons, Prev, Add, and Next. The hijaxing works with both the Add, and the Next button.
Prev button is set to 'onclick="history.back(-1)" '.
Add button is triggered by a '(Html.BeginForm("Add","Home"))' form with hijacking Jquery, which works fine.
Next button does does the same as th...
Ok before i make spaghetti of this code i thought id ask around here. ive made a quiz for an online site.
The answers are stored in an array, and ive a function that checks the answers array to what youve clicked. then it counts them and gives you your score.
but i want to change the clor of the right answer wen the user clicks the s...
Hi All,
I'm getting a problem in html and css,
I used a bg image for my popup window whose size is 500px width and 400px height;
having a scrollable text in it. but problem is that if i reduce a size of browser it get distorted. Please help me if i can make it scalable background and according to that text as per browser size.
Thanks
...
I included an anchor tag in the following php array:
'tagline_p' => "I'm a <a href='#showcase'>multilingual web</a> developer, designer and translator. I'm here to <a href='#contact'>help you</a> reach a worldwide audience.",
tagline_p is repeated 3 times (3 different languages) in differente folders (lang.en.php, lang.es.php, and lan...
i have a button in html that has a background image and text overtop of it, how can i disable the selecting of that text so it looks more "seamless"?
echo '<td width="130" height="30"'. "onClick='document.location = ".'"'.$value.'";'."'><center>".$key."</center></td></a>";
...
I have a JSP page with several forms on it. Some of these forms are
generated dynamically, and each of them submits some information to a
database.
Handling one form is easy, as I can simply make the form post to
itself, and handle the
data using a single bean. Since I have multiple forms, I now have a
problem. Several of the forms on t...
Hello,
I am wondering if it is possible to style my VB.net application with CSS and HTML. So far all I can do is apply a windows based theme.
Any help would be really appreciated!!
...
I have a frame with several radio buttons where the user is supposed to select the "Category" that his Occupation falls into and then unconditionally also specify his occupation.
If the user selects "Retired", the requirement is to prefill "Retired" in the "Specify Occupation" text box and to disable it to prevent it from being changed...
What are pros and cons of this technique (see Softfolio for an example). Two things I personally thought of are as follows:
Impossible to tell someone where an item of interest is located (like, you probably won't say "324-th row, second column")
Broken navigation when you return back to an infinitely scrolled page.
What else can you...
This may seem a strange question, but is it possible to disable javascript for the printed version of a webpage?
The reason being, it causes the printout's layout to all be on top of each other. But if I turn off javascript it works fine.
Any ideas?
...
This works, does anyone see anything I shouldnt be doing?
My funtion that is called
function getWeight(){
var weight;
var quantity = document.dhform.quantity.value;
var cardSize = document.dhform.cardSize.value;
weight = quantity * cardSize;
document.rates.weight.value = weight;
}
take...
I have a dynamically appearing div on a page. I would like to be able to hide the div with a button at the top right corner of the div. One way I have found to do this is to use a p tag, like so:
<p dir="RTL">button</p>
If this is the first line of HTML within the div, it will put the button in the upper right hand corner of the div. ...