HTML :
<asp:LinkButton ID="lnk_productImage" runat="server" Text="select"
OnClick="viewProductImage('<%#DataBinder.Eval(Container.DataItem,"Id") %>')"
>
</asp:LinkButton>
CodeBehind:
protected void viewProductImage(object sender, EventArgs e, int id)
{
//Load Product Image
}
...
So I have a website that queries a database with information about music, with id3 information and file location information. I would like to use THIS to add a little playable mp3 player beside each of the search results, but I can't figure out how to do this without generating the xspf file, which would mean I would need an xspf file f...
I have a treeview which when visible takes too much space on the web page. Hence the user is asked to click a button to make this visible :) But the issue here is that when that treeview ( located within a element ) is made visible it MOVES the other elements down but i would prefer if it OVERLAYS ( something like what happens when we c...
Hi friends
I would like to develop a multilanguage page in PHP, for exemple english/german/japanese.. so when i click on german the page language will change to german, then i click english it change into english. Please guide me to do this . Thanks in advance....
...
I don't understand why this form will not validate. It claims that I have not closed an input tag and that I have a closing input tag that is not open.
The page in question is http://squareownz.org/dunkyp/index.py
http://validator.w3.org/check?uri=http%3A%2F%2Fsquareownz.org%2Fdunkyp%2Findex.py
This page however doesn't agree that th...
Hi all,
I have a wxPython application that sends multipart emails with HTML and embedded images. As part of the sending process every email gets stored away as-is (RFC822 format) for future reference..
My question is: what would you recommend to show these emails from the application itself?
(Xubuntu 8.10)
...
In HTML you can define in a form an input-field for uploading files. This input-field has a button attached, that pops up a file-chooser-dialog. How can I set the text for this button?
...
I am writing an application that requires that my customer can layout their input forms in which ever way they choose.
I would like to use an HTML template with placeholders, and then replace these with secified .NET controls at runtime:
<table style="width: 100%;">
<tr>
<td colspan="2">
<fieldset title="Customers Template...
OK,I know that I should use a DOM parser, but this is to stub out some code that's a proof of concept for a later feature, so I want to quickly get some functionality on a limited set of test code.
I'm trying to strip the width and height attributes of chunks HTML, in other words, replace
width="number" height="number"
with a blank s...
Take the following HTML:
<img src="/any-animated-gif.gf" alt="" />
<br /><br />
<a href="#" onclick="document.location='/anything-that-takes-a-few-seconds-to-load.html';return false;">Click Here</a>
When I click the link the icon stops.
...
Hi,
I am trying to change the class of an element using javascript.
So far I'm doing :
var link = document.getElementById("play_link");
link.className = "play_button";
edit: here is the actual code that replace the classname
In the HTML :
<a href="#play_link_<%=i%>" id="play_link_<%=i%>"onclick="changeCurrentTo(<%=i%>);return fals...
Hi,
I am trying to create a dropdown menu based on Stu Nicholls' : http://www.cssplay.co.uk/menus/pro_drop8.html
Mine needs to go over Select dropdowns and be IE6/7 compliant, so that's why I'm using all this iFrame nonsense. Changing z-index will not fix it because IE set an infinite zindex value to select dropdowns.
So my problem is...
I'm looking for a good, free, preferrably open source, IRC client to be embedded in a web page.
The obvious requirements of supporting most browsers, if requiering a plug-in it should be a plug-in that is allready widley deployed and it should not put too much strain on the webserver serving the page.
...
I've generally tried to stick with DOM-only attributes when writing Javascript. Now that I've switched from Prototype to jQuery, I can get some serious mileage out of adding my own attributes to various DOM elements, mostly in the realm of being able to set up a very readable coding convention for handling AJAX requests.
As a short exa...
I have this form:
<form name="input" action="http://s164074194.onlinehome.us/mail.py" method="POST">
Username:
<input type="text" name="email" />
<input type="submit" value="Submit" />
</form>
On submission, the mail.py script is called and the user is redirected to its output...
I'd like the user to just stay on the same page as the...
Hello, I have a ordered list where I would like the initial number to be 6. I found that this was supported (now deprecated) in HTML 4.01. In this specification they say that you can specify the starting integer by using css. (instead of the start attribute)
How would you specify the starting number with css?
Thanks
...
Hi,
I have a sendemail.php set up for sending me information from a form.
The way I have it set to send the information is with
$_POST['variable name']
I cant figure out how to show the choice of a radio button array in the email that is sent to me. Thanks for any help.
...
I am using BeautifulSoup and urllib2 for downloading HTML pages and parsing them. Problem is with mis formed HTML pages. Though BeautifulSoup is good at handling mis formed HTML still its not as good as Firefox.
Considering that Firefox or Webkit are more updated and resilient at handling HTML I think its ideal to use them to construct ...
When developing for browsers FF3 and IE6/7 with jQuery, are there any compatibility issues when setting custom attributes on HTML tags?
First, I'm aware of jQuery's data() function and it essentially does what I want, but the data doesn't survive a clone() function. This is an issue when using the jQuery UI draggable/droppable plugins ...
Sometimes, server side will generate strings to be embedded in inline JavaScript code. For example, if "UserName" should be generated by ASP.NET. Then it looks like.
<script>
var username = "<%UserName%>";
</script>
This is not safe, because a user can have his/her name to be
</script><script>alert('bug')</script></script>
It is...