I have stopped to insert "img" tags for the logo of the page. Because its not an image that is part of the content, its a design element but its still a information I want to have control over. So I just write the title in a "a" element as display: block, overflow: hidden and I push the text out with some padding. I think thats a good so...
Possible Duplicate:
Regex to get the link in href. [asp.net]
I'm working on a method that accepts a string (html code) and returns an array that contains all the links contained with in.
I've seen a few options for things like html ability pack but It seems a little more complicated than this project calls for
I'm also interes...
Hello:
I have a php variable ($list) that is a list of values separated by commas. I am trying to figure out how to convert or input this variable into a HTML select tag. Here is what I have so far:
$dbquery = @$db->query('SELECT * FROM Company');
while ($queryText = $dbquery->fetchArray()){
$array[]=$queryText['Company_Name'];
}
/...
Hi,
I'm currently using the below script to load content on click of a link. What I would like to know is it possible to visit the url services.html#serviceone which would then show the content and the active link for that ID?
$(document).ready(function () {
$('#content div.wrap').hide(); // Hide all divs
$('#content div.wrap:f...
IE 6 only support :Hover on <a> then can we make css drop down using :hover on <a>
http://htmldog.com/articles/suckerfish/dropdowns/
This example use JavaScript to add hover on LI
'sfhover' class to li elements in the
'nav' id'd ul element when they are
'moused over' and removes it, using a
regular expression, when 'moused ou...
In javascript is there any difference between using
element.style.setAttribute('width', '150px');
and
element.style.width = '150px';
?
I have seen that keywords won't work with the first way (like this), but for non-keyword attributes is there a difference?
...
How to create Iframe using AJAX (not just add Iframe block element but create iframe from 0)?
...
I have created a form, with 5 textbox fields and I want to add those five entries in the database. I want to use the textbox "array", that way I can use a for-each when saving to the database. As anyone, any code on how to do this or can direct me in the right path?
input type="text" value="whateva" name= ?php text[0] ?>
input type="te...
I have a PSD design file for fixed width site which I'm converting to accessible cross browser xhtml markup. It is not my design and I cannot write server side coding (php, asp.net, etc). My job is to write only XHTML, CSS and javascript/jquery if needed.
What questions should I ask my client before starting the work?
Edit:
Client wa...
Hi I was hoping that maybe someone can help me out:
I created a bash script that connects to my free webhost via FTP and uploads a file.txt
into the home directory. What I'm looking to do is to read this text and display it on my index.html site.
Looking around I seen the following script:
jQuery.get('path/to/file/on/server.txt', nul...
Is it possible to enable native browser autocomplete for textareas. Would like something that works just like the input-text construct, but for textarea in order to support multi-line input.
...
I have a large css file and i want to convert all 6 digit hex code into shorthand 3 digit. Is there any online or offline tool to do so.
my purpose is to reduce css file size without making something wrong.
any other tips would be be appreciated to reduce css file size without affecting css output.
Edit:
As me_and suggested css drive...
Hi, I need to create a batch file that will stop a process and then refresh a defined tab in internet explorer 7. Just need some help/pointers on the tab refresh part or if it's even possible... I don't want IE to open another tab, and another browser is not an option as the web based program is only compatible with IE. Any ideas? I've...
Hello
I have heard that we should avoid Default ASP.Net Controls, because they are heavy regarding Viewstate and etc...
So I was thinkink in using , , HTML tags whenever I want to only show information, and use the Eval function to insert server-side code in a href or src atribute.
But I have also heard that the Eval function is not ...
I have an subversion server running with Apache mod_dav_svn and it works nicely but the browsing ability via HTML is a bit spartan. Is there a way to customize it at all?
There's two things I'd like to do to make a huge difference:
separate the directories from the files so all the directories are at the top. Right now everything is...
hi,
Wich is the correct way to output html inside a switch structure?
I've tried both bellow, none work:
<?php
switch($x){
case "a":
$var = <<< EOM;
...the html...
EOM;
break;
case "b":
...some code...
break;
}
?>
OR
case "a":
?>
...the html...
<?php
break;
case "b":
...some code...
break;
}
?>
More info:
switch ($_REQ...
Hi, I would like a tool (or firefox) that enumerates all , elements on an target HTML page and generates a new HTML page which I can use to post to the original page.
I want to use this for security / sql injection testing, to circumvent any JavaScript validations.
The Web Developer firefox plugin is close, but it doesn't let me chang...
I can't figure out how to access the data between the inner nested tags. When I run this javascript, all I see is "Null".
Here is what my xml file named "bboard.xml" looks like:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Designed by Someone -->
<bulletinboard>
<article>
<title lang="en"><h2>eeeeeeeeegg #1</h2></title>
<detail><s...
What I'd like to be able to do is download any web page, and be able to view it offline.
It seems like html WebKit views cannot be converted to PDFs (on the Mac, you could 'print' a PDF, but that isn't possible on iPhone?).
So, the only way is to save the actual resources - save the html, the step thru each image, css, js file and save...
I'm using MSChart control to chart a radar map.
I can set the AreaDrawingStyle property of a series in code behind (as you can see sample here).
But I can't set it in HTML. Any suggestions?
...