I have this project i'm working on and id like to add a really small list of nearby places using facebooks places in an iframe featured from touch.facebook.com I can easily just use touch.facebook.com/#/places_friends.php but then that loads the headers the and the other navigation bars for like messges, events ect bars and i just want t...
I tried several methods to find out what part of a html string is invalid
$dom->loadHTML($badHtml);
$tidy->cleanRepair();
simplexml_load_string($badHtml);
None is clear regarding what part of the html is invalid. Maybe and extra config option for one of the can fix that. Any ideas ?
I need this to manually fix html input from users. ...
I have a HTML text area in a JSP page. When I continuously press a button and the cursor reaches the line end it automatically goes to the second line.
When I get this text and try to print it inside a <p> tag the line breaks disappears
and the whole text appears in one line, not in separate lines like I entered
any ideas how to corre...
Hi
I am working on one web application.
I am interested in to fetch selected tab URL. I am using Firefox browser.
I achieved this by executing below javascript statements :
/* Get the URL of page which is currently loaded in active tab */
var currentPageURl = window.top.getBrowser().selectedBrowser.contentWindow.location.href;
alert...
hi, i have a problem with javascript. code below belongs to featured content slider and it pauses when mouse is over a pagination link. what i want to do is restarting the slide..
//** Featured Content Slider script- (c) Dynamic Drive DHTML code library: http://www.dynamicdrive.com.
//** May 2nd, 08'- Script rewritten and updated to 2.0...
I would find some example uses of FireFox engine to generate graphic file (it can be png) on server site with using browser engine. I would like achive the same image as if i open this html file in browser and use prinscr.
...
Hi ,
I am looking for to fetch current tab (loaded or blank ) URL of Firefox browser.
How to acheive this ? using currentURI property in javascript.
Thanks a lot,
-Pravin
...
How do I play a sound on the web browser as notification?
...
I am having a textarea and a button. There are two classes buttonEnabled and buttonDisabled. I want to apply buttonEnabled only when there is some text in the textarea. So if user is typing in a textarea then button looks enabled and when he clears all the text either by selecting and cutting it or by backspace. I want my button to look ...
Hi,
I'm trying to add the user's Google StreetView as the background in a php page after he is authenticated, but in Chrome(Windows) it is not considering the z-index of the div (it is in), and also the value of wmode parameter is being "" (empty), I'm trying to update the wmode parameter value to "transparent" then sometimes it works f...
Hi All,
I have a table which shows records from DB dynamically. I just need to fix the height of the table, so that the table gets a scrolling window downwards within the table itself if it has large number of rows. This is so the user wont need to scroll the entire page?
Is this possible...?
Thanks in advance...
...
I find myself doing this a lot, for specific properties for animation purposes, and specially when I'm generating something using database values obtained through PHP. Is there a reason not to do this.
Some sample code, to clear up ambiguity.
This would be the JQuery:
$('.class').each(function(){
var my_new_width = $(this).attr('i...
i want to display output of html file without using uiwebview.please give some sample code to parse html file............thanks in advance
...
How do you create maintainable web widgets?
Right now, I allow my web users to create web widgets via a simple interface, and all the javascript, css, and html needed for that widget gets saved in a database table cell, which is very unmaintainable.
Is there are better way of allowing people to create widgets, yet make them maintainabl...
Hi all,
I have a script that displays one div at a time while hiding the previous shown div. When a button is clicked, the counter variable increases by one and the naming of the div id's are "step1", "step2", "step3", etc. Here is the script:
<script language="javascript" type="text/javascript">
var counter = 0;
$('html...
I've got a page containing a lot of images, which are initially hidden from view as I'm using tabbed divs (ie. hiding some divs using CSS display:none).
Therefore, when then page loads, it takes ages to load all of the images, which looks like the page is slow (as the loading bar on the browser doesn't complete for 10+ seconds).
I woul...
Hi guys, I'm relatively new to java and android, in my android application I need to get xml file, transform it and show to user.
I know how to parse xml, but I don't want to parse it and generate view after. I'd like to transform it to html and display in WebView.
I'm trying to find something on the Internet but can't find anything((...
I've hired a Wordpress programmer for coding my site in wordpress. I'm using a year slider on portfolio page where one can sort projects within certain range eg 2004 to 2007, 2005 to 2009 etc. He is using posts to publish project details and earlier suggested to use post date as published date, which isn't entirely true and I wasn't comf...
I am wondering if there is a way I can pass an updated PHP counting variable to an HTML form before submission. My PHP reads in a CSV file and generates an HTML table based on the number of rows in the CSV file. The counting variable then reflects the number of rows in the HTML table. Is there anyway I can update the HTML form "request f...
I am making a webpage for iDevices and need to allow the user to draw pictures. There would be a box and they would scribble in whatever they need. Don't need color or fancy brushes. When they are done, I would need some way of collecting that input and getting it back to the server, vector or bitmap format would be fine.
Is this possib...