Ok. So the problem is here..
on this address i have this url:
_http://localhost/blog
img src='image/b.jpg'
and everything goes fine.. because i have my image in "image" folder... browser asking image with this url "_http://localhost/image/b.jpg"
but if i got to:
_http://locahost/blog/otherfolder/
then browser start looking for "_htt...
CSS & html
id0 is the class for the div that's got background as a sprite image and inside of this div..there's a list of links (in repeater)..when the user hovers over links..the background image of div displays diff parts of sprite image accordingly
Now I want that the classes id1 to id5 be set as the classes of the repeater's list.....
Hi
i need to do a frameset with HTML and I'm seeing that vertical scroll doesn't show on IE8, but it works perfect in Firefox.
Why vertical scroll doesn't work on IE? what can I do for do it works like in Firefox?
The code is this:
<frameset rows="121,*" cols="*" framespacing="3" frameborder="yes" border="3" bordercolor="#009933">
...
I want to make a Wikipedia Reader for the iPhone. What's the best approach?
I've already made a few thought about that. Loading the content of the Wikipedia site is quite easy using the Wikipedia API.But the difficulty is how to display the content in a nice way. The content is marked up with wikipedia tags, not html. My idea is to pars...
How can i add in my facebook application invite friends.
First of all i use actionscript, in order to handle invite issue i searched so many sites but i ve got nothing, cuz facebook doesn't support invite actions. then i learnt that javascprit can handle this, however i couldn't find anything valuable about that
...
Hi guys , i am facing a problem with removing the textbox using js. i am using below mentioned code
<html>
<head>
<script language=javascript>
function addElement() {
var ni = document.getElementById('myDiv');
var numi = document.getElementById('theValue');
var num = (document.getElemen...
Hey simple stupid question that I am too lazy to research. Can anyone tell me what browsers support the placeholder html tag for text inputs? Does Internet Explorer support it? Because I have a javascript form of a placeholder for the browsers that do not support.
<input type=TEXT placeholder="placeholder here" />
...
I am developing a website that many pages share the same header/footer/sidebar/topbar.
Say I have three pages: one/index.php, second/index.php, third/index.php. They all share the same header/footer/sidebar.
The problem is where should I put the header/etc and its corresponding css file, since a piece of html code could not import css...
Say
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<div>code here</div>
<html><head>...</head><body>...</body></html>
</body>
</html>
I have tested it in Firefox and it works. Is this right?
...
Hi,
How can you make the value in the password field visible? So, when typing your password in the field, it will not show the black dots, but the actual value that you are typing.
Thanks!
edit: Ok, so then a better question might be: How can I force the browser to remember the value in this 'password' field and treat it as a password...
Hi,
The thing is that I have two values which are similar to a username and password, but are actually 2 randomly generated GUID's that users use to login to a website I made - they are not really a username and password, but with the GUIDs I try to replicate this combination.
Usually browsers ask you if you want to save the provided l...
How can replace the column name, textbox and img with onclick event with innerHTML using JavaScript.
samplecode:
<tr>
<td>Member Id:</td>
<td><html:text property="memberValue" ... /></td>
<!-- for memberValue setter&getter fun is there in bean -->
<td>
<A onClick="popUp()">
<html:img src="/calender.jpg ... />
</A>
</td>
</...
In VS 2008 there is a very useful feature of background HTML validation - it checks if CSS class name is valid i.e. it exists in one of the linked CSS files. It protects against spelling errors which are not easy to discover otherwise. But VS 2010 Express does not do that any more. And the relevant setting "Options->Text Editor->HTML->Va...
Hi All
the following code for highlighting current page works fine in FF but no luck with IE.
Is there an known hack? I've googled a bit but couldn't find anything.
.navigation a:link {color: #FFFF00; text-decoration:none;}
.navigation a:visited {color:#000000; text-decoration:none}
.navigation a:hover {color:#c1753e; text-decoration:...
Hello,
My Javascript function returns a char arrya which might contain non-printable characters. In fact each character is a byte (represented as a number from 0-255). The problem is that when I try to copy this char array to the notepad, for example, I get these results:
ORIGINAL STRING IN JAVASCRIPT:
performance of thisĎask, ćd so mo...
I am just learning how to use JSP and am stack on a small issue. I am creating a basic form where the user inputs some text and then when they submit the form it gets sent to a JSP page.
The JSP then outputs what the user inputted using the request.getParameter() call. Now this works fine but i would like the data to be sent to a JSP pa...
Hello there.
okay so i got a script that removes "_" and replaces it with a space " " and it does not work i even used ereg_replace and eregi_replace none worked yet it works backwards( " ","_")
thanks a lot here is the script:
$namefixed = preg_replace("/_/", " ", $name);
and even
$namefixed = preg_replace("_", " ", $name);
...
Let's say I wanted to change all <img> tags to <iframe> tags on a page. Could javascript be used for this purpose?
Is there any way to change the actual tag type, or would I have to first delete the <img> and then create the <iframe>, if so, how can I make sure that the new tag has the same container as the old tag, etc?
What's the ...
When I do http POST request via Web form, Is there any difference(practically or theoretically) between parameters specified in the URL and parameters passed with form on the server side?
Can I do whole POST with url parameters and expect same result as with form inputs?
Like:
<form action="/?id=2" method="post">
<input type="...
Hi there.
Using embed to embed music might sound oldschool, but I don't have any other choice (any method used now doesn't accept my files).
<embed hidden="true" volume="10" src="/app/upload/1287860161768038.mp3" />
Music starts to play, but volume is always 100% (not 10 like here). I don't know how to repair it, suggestions?
...