Hello,
I am designing a web site that plays music. The music player itself will be in a separate window along with the now playing list. I want to be able to refresh the now playing list when a new song is added to it from the main window. Essentially I need to figure out how to communicate between the two windows. I was only able to f...
Hi,
This may be a silly question, but as someone relatively new to PHP, I'm wondering if there are any performance-related issues to frequently opening and closing PHP tags in HTML template code, and if so, what might be best practices in terms of working with php tags?
My question is not about the importance/correctness of closing tag...
This is a 2 part question:
1)
click on one of the demo dropdowns on this page. when you tab over to the next input, the text is selected/highlighted in firefox. how can i prevent this from happening?
2) bonus: can you review my code that is hosted on google and tell me what i can improve?
...
Okay, I am really stuck here.
I have a table of tr's that have id's: #tr_xx
where xx is a number.
item is a number.
The if(... part makes sure that what follows is only executed once at the end of all the animations.
$('#tr_' + item + '>td').fadeOut('slow', function() {
if($('#tr_' + item + '>td:animated').length ...
There was a lot of talk that IE8 was supposed to fix/remove hasLayout. Doesn't seem to have happened, though it's not usually an issue.
The problem is that when it does crop up there doesn't seem to be a way for IE8's developer toolbar to tell you hasLayout is being applied, as it used to do in IE7's developer toolbar.
Does anyone have...
Hi,
I am a PHP, VB.NET programmer and i like to build websites. I am good at coding but have never done website designing.
Please suggest me some good study resource on Photoshop and flash website design. I have recently made few templates on photoshop but don't know how to code them for valid HTML-CSS.
Please let me know which is th...
i have a form with a capacha, if the capacha was entered wrong, after submit the page is doing a "history.go(-1)" and all fields include the capacha input are back on the screen
right now i have a js that clear that - but now that i need it in several places, i want to know if it possible to clear a form field after back with something...
Hey all,
I'm practicing Jquery and I've written this simple Jquery statement:
var someText = $("table tr td").text();
Should this not return all text of td elements found within tr's that are found within tables? How do I fix this? Currently when I run this, it says that table tr td is null, but I have a table on the page I'm testing...
Fmylife.com has a nifty feature that when you copy the text from a post, it actually copies a LINK (html) so that when you paste it into your email/facebook/instant messenger/twitter/whatever it automatically will link to the post, giving them more traffic and more page views and more ad revenue, etc.
I looked into their javascript file...
i have one table in loop which come under li>
<?php
for($i=1;$i<=$tc;$i++)
{
$row=mysql_fetch_array($result);
?>
<li style="list-style:none; margin-left:-20px">
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="hline" style="width:267px"><?php echo $row['tit'] .",". $row['name'] ?></td>
<td ...
the converter is not showing up an answer when I input value into the forms. It shows up pop-up alert "You must enter a number between 32 and 40" ~Thanks
<HTML>
<HEAD>
<TITLE>Bra Size to Chest Size Converter - CM</TITLE>
<SCRIPT LANGUAGE="JavaScript">
function CalculateSum(Atext, Btext, form)
{
...
Hello.
I want to make my homepage, without frames, should i just split up my design on index.php so it is header.php/footer.php, and then just include them on every page?
...
Hello everyone !!!
I am trying to write DOM viewer on JavaScript.
How I can get all properties and methods of some element?
When I used "attributes" array I am able to get only properties that has set before.
Thanks, Anton
...
I wonder what are the available pure embeddable Java HTML viewers? The requirements are:
Should implement JComponent interface to be placed into Scrollable pane.
Should be preferably a free solution; opensource is a plus.
Availability as maven artifact is a plus.
I know only few components:
Build-in Java JEditorPane, supports HTML ...
I've been away from building browser applications for a long time. I'm now interested in creating one for a hobby of mine. I dread having to deal with HTML, JavaScript etc. to build a high quality browser based user interface. I've got the full suite of Telerik controls. Is it possible to build a polished, somewhat feature rich browser U...
Is it possible to generate comments for closing div tags, lets take this ex. into consideration normal HTML:
<div id="content">
...
...buch of html or whateve
</div>
with comments :
<div id="content">
...
...buch of html or whateve
</div><!--End of content-->
and so on go trough each div element and comment the end of i...
Hi,
I have an image of 4x4 in size and I want to use it all around a DIV's border. The following:
-moz-border-image: url("../images/window/side.png") 4 4 4 4 / 4px 4px 4px 4px repeat repeat
will place left and right borders, but not bottom and top. What's wrong with it? I think I have misunderstood the syntax and if that is so, how d...
Hi,
I want to transfer HTML from my app to the iPhone mail application.
I already have the HTML text - lest say span style='color:red'>Test/span>
I can place this to UIPasteBoard - but when I paste it to mail I get the html source.
When I place the same string in a HTMLView - select it there and copy it it pastes as red text in mail.
...
I want to have my list (nav) align to the center of an image (logo). I tried using vertical-align: middle;, but I couldn't get it to work when I floated the images left and right.
Here's my code:
HTML:
<div id="head">
<img id="logo" src="logo.png" />
<ul id="nav">
<li><a href="#">Item 1</a></li>
<li><a href="#"...
<html>
<head>
<title>Tip Calculator</title>
<script type="text/javascript"><!--
function calculateBill(){
var check = document.getElementById("check").value;
/* I try to get the value selected */
var tipPercent = document.getElementById("tipPercent").value;
/* But it always returns the value 15 */
var tip = check * (tipP...