Drawing over an image using Raphael.js
Can I put a Raphael.js canvas over an IMG element? What should I do make this layout work? ...
Can I put a Raphael.js canvas over an IMG element? What should I do make this layout work? ...
I have an element on page: <iframe vspace="0" hspace="0" style="overflow-y:auto;overflow-x:auto;word-wrap:break-word;border:0px;" id="some-iframe"></iframe> and I'm trying to get contentWindow property of this frame using the following javascript: document.getElementById('some-iframe').contentWindow It's ok under at least ...
hi, I've to decide the meta keywords for my website. I want to decide them carefully for google search. I have 2 questions about it: how many keywords should I use ? my website is in italian, should I use both english and italian keywords ? thanks ...
I have 2 dropdown lists that I'm putting on to the page as follows. I can't get either to work: <%=Html.DropDownList("CategoryId", Model.CategoryList, "Select a category to view")%> and <%=Html.DropDownList() For(m => m.SearchExpression) %> What I need is to be able to redirect to a page when one of the items is selected and I clic...
Hi folks, I recently needed to append some data to dynamically created LI elements. In my first instance, I used .data() in a way like var _newli = $('<li>foobar</li>'); _newli.data('base', 'ball'); // append _newli to an `ul` that.. was terribly slow. This logic happens in a loop which can easily grow up to 500+ items, it took ages!...
I was under the impression that 404 redirects to the front page is considered bad. all websites should have a 404 page. But at the same time I notice alot of people in forums that want their site to redirect to front page when a 404 is called. which is better. Having a 404 error page or redirecting to the front page ...
Is there a way to show captions for images permanently on page load, not only when I move mouse cursor over the image? ...
As part of a hackweek project for visualising the number of people at London Tube stations, we have an SVG image linked to with a standard tag in HTML. This svg file is generated by PHP, and includes an tag importing the tube map and some tags. When viewed directly, this works fine. However, when viewing the HTML page containing the S...
Nearly all browsers use a certain amount of leeway in rendering invalid HTML. For example, they would render x < y as if it were written x < y because it is "clear" that the < is intended as a literal character, not part of an HTML tag. Where can I find that logic as a separate "cleanup" module? Such a module would convert x < y to ...
I'd like to have the following div tag display a tool-tip on mouse hover. But, it displays it as a single line. How can I get it to display several lines? <div title="Have a nice<br />day">blah</div> ...
for example if we have something like this: http://chart.apis.google.com/chart?chxl=1:|0|10|100|1,000|10,000|100,000|1,000,000|2:||++++++++++++++++++++++++++++++++++++++++++Excretion+in+Nanograms+per+gram+creatinine+milliliter+(logarithmic+scale)|&chxp=1,0|2,0&chxr=0,0,129.8|1,0,3&chxs=0,676767,13.5,0,lt,676767|1,676767,13.5...
Imagine a slideshow looks similar to this: http://malsup.com/jquery/cycle/div.html except it has only two images instead of three. Also imagine that it has two triggers, like the demo in the middle of this page: http://jquery.malsup.com/cycle/lite/ That's what I want to build. However, when you press 'next' and 'prev', I would like ea...
Hey, I appear to have a CSS problem, regarding the spacing of my <div>s on my site. If you point your browser to www.marioplanet.com you will see an odd space after my Apple-themed navigation bar. I was wondering if anyone can help me identify why this spacing was added, and how I can eliminate it, as it's undesired. Also, I believe i...
I read some HTML like: <script for=foo event=onmouseover> ... </script> Just wondering what the attributes for=foo event=onmouseover mean? ...
I'm working on a web scrapping application and was testing it with ebay. The thing is that the application should follow the link "Next" (the one at the bottom of the page that should go to the next page of results) but it kinda stays on the same page (yea, i'm actually not sure about that). If you try to open ebay and search for any ter...
Hello All I am "attempting" to scrape a web page that has the following structures within the page: <p class="row"> <span>stuff here</span> <a href="http://www.host.tld/file.html">Descriptive Link Text</a> <div>Link Description Here</div> </p> I am scraping the webpage using curl: <?php $handle = curl_init(); ...
I would like to add (with as minimal change to a page as possible) the ability to display a pop-over (i.e. not an actual OS dialog, but part of the page) message box on my homepage that I can call with javascript. In the worst case I suppose I could resort to the alert() call, but I find these annoying and obtrusive and just want someth...
I have a page that had the doctype: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> I need to add the URL to the end, or jQuery's datepicker does not display correctly. When I make the doctype say: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> The page b...
<td colspan ="2" style="width: 64px"><div style="float:left; padding-left:9px;"> <asp:LinkButton ID="lnkremoveloc" runat="server" OnClick="lnkremoveloc_Click" CssClass="linkclass" style="cursor:pointer" Font-Underline="True" Font-Bold="true" Font-Size="12px">Remove Location</asp:LinkButton></div></td> ...
I'm trying to build a tiny skeleton framework for a friend, where each time a button is pressed a certain animation is played. He wants a way to count the number of times the button is clicked, as well, but I can't seem to get that part working. What am I doing wrong? <?php if( isset($_POST['mushu']) ) { echo "Working."; pl...