I want to position a button 2px to the left of a title span on my master page. The span can vary in size, and is centered in its containing div. How can I do this?
EDIT: Here is the code:
<asp:CheckBox ID="FavCheckBox" runat=server style="display:inline-block"
oncheckedchanged="FavCheckBox_CheckedChang...
The javascript code I now have can toggle a single row of data. Whether JQuery or javascript, how do I toggle multiple rows?
In this example, when location 1 (value = "1") is selected, I would like to have tr tags "11", "12", "13" displayed (Location "1" Building "1" => "11")and Location 2 displays tr "21", "22".
<script type="text...
I'm compiling a list of audio + video players (flash / javascript / other) that I can embed into a website.
flowplayer: http://flowplayer.org/
jw player:
http://www.longtailvideo.com/players/
premium beat:
http://www.premiumbeat.com/flash_resources/free_flash_music_player/
xspf web player:
http://musicplayer.sourceforge.net/
yahoo me...
hello friends I haev a dropdownlist box on my page.. with A B C D E F
each pages have difernt images
once If I select A I need display one Image like B I need to display other image/table on the page..
can any one tel me how to do this?
thanks for all your time
...
I have an tree control inside of a frame. It's quite tall, around 2000 pixels. Right now, we use the frame's scroll bars, which is mostly good. Unfortunately, when you select an item near the bottom of the list, the page reloads and the view goes back to the top of the list.
I tried calling the tree control's ScrollNodeIntoView() fun...
Hello All,
How can I escape a ' (single quote) in JS. This is where I'm trying to use it.
<input type='text' id='abc' value='hel'lo'>
result for the above code is "hel" populated in the text box. I tried to replace ' with \' but this what I'm getting.
<input type='text' id='abc' value='hel\'lo'>
result for the above code is "hel\" ...
I've been using the jQuery.svg plugin to do some SVG rendering and it works perfectly but I also want to have the server render some SVG into the page and I can't get that to work. How do I add some SVG like below into the page so that Firefox will render it?
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://w...
I'm trying to output the following HTML using Html.ActionLink:
<a href="/About" class="read-more">Read More<span class="arrow">→</span></a>
I'm getting it done by doing an ActionLink, which outputs an <a> tag and then manipulating the string.
<%= Html.ActionLink("[[replace]]", "Index", "About", null, new { @class = "read-more" }).ToH...
I generate output with php. I've been reading about caching HTML elements (e.g. images, text) in the browser so that these don't have to be reloaded.
However, I haven't found the right directions on how to get it done. It's like "simply cache the elements you want and you're done!" - great, but how do I cache something like this:
<div ...
I noticed that almost all email messages I get do not embed images, but link them from the http instead (and they get blocked by default of course). I'm sending HTML email for my service and can easily embed images to create better visual experience. Is there particular reason not do so? Why everybody else is linking instead of embedding...
Creating some simple html pages specific for the iphone, and would like to use autocomplete for one of my textboxes. Is it possible to do this with javascript and if so, how?
...
Let's say you've got a simple fixed-width layout that pulls a title from a MySQL database.
CSS:
#wrapper {
width: 800px;
}
h1 {
width: 100%;
}
HTML:
<html>
<body>
<div id="wrapper">
<h1> $titleString </h1>
</div>
</body>
</html>
But the catch is, the length of the title string pulled from your MySQL da...
It's an important security issue and I'm sure this should be possible.
A simple example:
You run a community portal. Users are registered and upload their pictures.
Your application gives security rules whenever a picture is allowed to be displayed. For example users must be friends on each sides by the system, in order that you can vi...
I have the password field on page. I want to display text "Enter password" on screen before entering password but on focus when user enter password it should go back to password type
EDIT: I am using Jquery as well so any small jquery solution will do
...
Is there any way to force a browser to refresh or empty it's cache, but only if that browser is Safari?
I have a flash file that works in every browser except Safari. But if I empty the cache in Safari it works.
...
I can't figure out how to say what I'm talking about which is a big part of why I'm stuck. In PHP I often see code like this
html
<?php
language construct that uses brackets {
some code;
?>
more html
<?php
some more code;
}
?>
rest of html
Is there any name for this? Having seen this lead me to try it out so here ...
Hello,
Can someone help me with this problem: I have a table in a jsp page, with the text in one column being hyperlinks. Whenever anyone of these hyperlinks is clicked the whole table should refresh and repopulate based on the value of the hyperlink clicked. My problem is currently when the hyperlink is clicked the page refreshes with ...
I wish to have a page that has a fixed height (without scroll bars). Then underneath the header a fluid height div that does have a scroll bar(not the entire page). Also, the width is to be fluid on the entire page.
This is illustrated below:
What should i do in HTML so that it works in all browsers including IE6 ?
EDIT: CODE CHANGE...
Hi All,
I need to change the locale/language of the browse button in input type="file"
We have a special function to change the locale of any text to the browser language such as en-US es-MX etc.
Say
changeLang("Test"); // This will display test in Spanish if the browser
// locale is es-MX
What I need to do is t...
I installed drupal-6.16.
I applied the patch from the post http://drupal.org/node/222926#comment-930745.
It works correctly in simple cases.
But following code of counter is handled incorrectly and counter is now displayed on the page after drupal.
Drupal modifies the string
"alt='1Gb.ua counter'><\/a>")</script>
to
"alt='1Gb.ua co...