I have a site where in the top header area I have a dropdown which only works when the user hovers the mouse over it (http://liquor.com). But in mobile versions I've been informed this behaviour won't work.
So I'll put a conditional statement in the code and display another dropdown menu, but I'm curious what code should be used for a m...
I am trying to get all the text between the following tags and it is just not workind
If Not String.IsNullOrEmpty(_html) Then
Dim regex As Regex = New Regex( _
".*<entry(?<link>.+)</entry>", _
RegexOptions.IgnoreCase _
Or RegexOptions.Cul...
i use target="_blank" to open links in a new tab... but in IE it opens a new window which is completely logical because that is what _blank is supposed to do and i don't know how target="_blank" behaves in other browsers... is there something to force links to open in a new tab.. if the browser supports tabs... else make a new window
...
I'm having some difficulty getting my website to display properly when viewed on the iPhone and iPad. The webiste (not even close to being finished) is
www.lzkconcepts.com.
The website displays properly when viewed on every desktop browser I've tried (safari, chrome, firefox, IE), however, on the iPhone/iPad there is a tiny gap/spac...
Hi,
I want to stream video from my web server (might be google app engine, or amazon simple storage). I'm curious if browsers can somehow cache a video. My site will often have users playing the same video over and over again, and I'm wondering if I can hint the browser to just cache videos from my site so the user isn't constantly stre...
I have a table with fixed width columns:
<table width="100%" cellpadding="0" cellspacing="0">
<thead>
<tr>
<th>Title</th>
<th>Description</th>
<th>Hours</th>
<th>Rate</th>
</tr>
</thead>
<tbody>
<tr>
<td style="width:100px"></td>
...
Hi All,
I have a DataboundField in a grid. I'm trying to display a date in Euro format and the time. The time should be wrapped in a span with a css class applied to it.
I am using this, DataFormatString="{0:dd/MM/yyyy <\span cla\s\s='tinyDate'>hh:mm:ss</\span>}"
It's actually pretty close, except the span tag is literally rendering i...
I have a long list of items where clicking on an item may move another related item to just below it. The problem is if the moved item appeared above the item being clicked, the move causes the page to scroll up and the mouse is no longer over the user center of focus. e.g.
Item1
Item2
Item3 - clicking this will move item1 below it
Ite...
i am using this code... for a Horizontal CSS menu which is working fine on jsFiddle but when i am using it in my site.. it is giving me bullets of the list, see the image below....
HOW TO GET RID OF THESE BULLETS
F1 F1
Help !!!
Any Key
...
I have an assignment for school call Poker game. I have to deal a random card of five using HTML. I also need to have an array to deal the cards. My main question is can you have images in an array and if so how can it be done? I tried this method:
$my_array = array(img src="2Spade.gif", img src="2Club.gif")
but this is incorrect! Ca...
I have a JS file that has functions to search a document for substrings.
I want to access functions inside this file by passing parameters to it (the search keyword).
I know we can use .loadUrl("javascript:~~~~~) but I'm not clear on how to do it using multiple functions.
Anyone who can point me in the right direction?
Thanks!
...
In my code, I have a form with radio buttons. The first radio button is displayed but the second (Repeat Every Week) is not? If I remove the comment markers then it all works fine. But why is it happening?
<!------------>
<%= radio_button_tag 'repeat_daily', 'freq' %>Repeat Every Day<br/>
<!------------>
...some code...
<!----------->
<...
Hello. I'm looking for some solution for creating modal dialog box, like when you are not logged in or donot have enought reputation, and try to vote on some question or answer at stack overflow... That orange box that is show...
Can someone help me?
...
I am looking for a solution for having stacked tabs in a web page. I know there are tons of tab implementations out there, but I haven't been able to find one that allows for multiple rows of tabs. When you select a tab from one of the rows above, that row of tabs would drop down to just above the content area (Windows does this in som...
So I have an external script that will sometimes input something into a sql database throughout the day (usually about 3 times a day, but could potentially update ever minute) I need to find a way to make the html page (that displays the sql entries) refresh automatically when there is a new entry that's added. Any suggestions for PHP an...
I have a page with a header position:fixed DIV at the top. This DIV is height:300px and it is fixed so that it's always visible even when users scroll down.
My content is in another DIV below. It has a position:absolute with a top:300px. So when you first load the page, it starts below my header and when you scroll, it scroll undernea...
This is php script that fetches a table values from mysql (one row). & echoes it as JSON
<?php
$username = "user";
$password = "********";
$hostname = "localhost";
$dbh = mysql_connect($hostname, $username, $password) or die("Unable to
connect to MySQL");
$selected = mysql_select_db("spec",...
Hello there
okay so this is the deal i have a folder where my mp3 files are stored for single download, and now i want a feature where you can download all the mp3s at once in a zipped folder. Is it possible to zip all the files from that folder using php ( or anything really but if not PHP then please explain thoroughly) or would i have...
i have this li list which displays an image with the username right next to it: but the username is at the bottom, i want it to be at the top:
just like this:
the code i have is at http://www.jsfiddle.net/RpCUV/ with an illustration of my current code,
i know this is a simple questions, but i'm new to this, thanks
...
Hey folks,
I'm trying to use a <legend> as a title inside a <fieldset>.
In browsers other than IE, the <legend> is positioned on the top border of the <fieldset>, with the text perfectly centered on the line.
I'm trying to reset it's position so that it sits just like any other element. i.e. an <h3>.
Here's the CSS I have so far.
...