6,558 Topics
| |
Hello everyone, I am trying to retrieve some info from a remote site using PHP DOMDocument and I cannot figure out why the code returns NULL, although the provided ID exists on the page. Please help. $dom = new DOMDocument("1.0", "utf-8"); @$dom->loadHTMLFile('http://sports.yahoo.com/news/messis-tax-hearing-put-back-122033643--sow.html'); $content = $dom->getElementById('yog-content'); var_dump($content); | |
Hello, I create a website with a 1024 x 728 size. After I create the html amazingly, the horizontal space is more than 1024, larger than the background that I create. There are around 400 px more space to right side of the background which is filled with a blank … | |
Hello, I wonder why my navigation input text box size being effected by the agent.css agent.php <html> <link href= "css/style.css" rel="stylesheet" type="text/css" media="screen"> <?php include('includes/navigation.php'); ?> <link href= "css/agent.css" rel="stylesheet" type="text/css" media="screen"> <body> <br><br> <div id="form"> <div id="formtitle"><br><center>FORMULIR PENDAFTARAN AGENT INDONUSA</center></div> <br><br> <div id="formtable"> <table border="0"> <tr> <td class="field">Nama Lengkap</td> … | |
How do I use htmlspecialchars to escape all html but then allow two tags? I've escaped my text but want to allow the following two tags: img iframe Is there an easy way to do this? I never had a class on php so everything I know is self taught. … | |
Hi im new to html and fairly new to programing i've been waching youtube vidios on html and they all do the same thing to put up a phot but whenever i try the photo eror shows up by the way i use notepad ++ <!doc type html > <html> … | |
please help on my codes ...this works good in firefox but in internet explorer it gets disarrange. also, if im gonna zoom in/out in both browsers it also got disarrange.thanks index.php <?php session_start(); //Unset the variables stored in session unset($_SESSION['SESS_ID']); unset($_SESSION['SESS_LNAME']); unset($_SESSION['SESS_FNAME']); unset($_SESSION['SESS_MNAME']); unset($_SESSION['SESS_SUFFIX']); if (isset($_GET['page'])) { $pg = $_GET['page']; … | |
agent.php <div id="formtitle"><center>FORMULIR PENDAFTARAN AGENT INDONUSA</center></div> <br><br> <table border="0"> <tr> <td class="field">Nama Lengkap</td> <td><input type="text" name="name" placeholder="harus diisi" value=""></td> </tr> <tr> <td class="field">Tempat & Tanggal Lahir</td> <td><input type="text" name="name" placeholder="harus diisi" value=""></td> </tr> agent.css #form { width: 900px; height: 1600px; background-color: white; display: block; border: 1px; margin: auto;} #formtitle { … | |
Ok I am having trouble with this homework assignment. I need to modify the code to sort by the number of pages rather than by chapte number. I get this part but the code I need to modify will not display correctly in my internet browser. All I see is … | |
I'll come to the point, every link is working except one link. My index page --> http:// pastebin.com/wGAhtT9k My Css Page --> http:// pastebin.com/Kg1WGvGJ My js page --> http:// pastebin.com/rv4mdcJ8 This is my website --> www.leranjith.com In my website, i have two "certificates" link, the one inside the circle is … | |
if i want five(5) boxex in a row, than how i have use span classes in Bootstrap | |
Hi. 'm new to php..please help.. 'm working with dropdown and submit button.. the dropdown contains certain values..if the user selectes one option in dropdown and clicks submit button, values corresponding to the dropdown should be displayed in table format from the database. the file name is campus.php 'm attaching … | |
Hello, Anybody knows how to create a changing background website like this: [background](http://id.gateway.com/gw/en/ID/content/home) I have the website and 3 different background. Now, I would like to make those background changes one after another. | |
The below mentioned code uses css3 to develop drop down menu .I am unable to solove a problem which crops up while i click sub2 h4 menu it disappeare below body text can anybody help .Thanks in advance. <style> body,,container,h1,navmenu,ul,sub1,sub2,darrow,rarrow,header,leftnav,rightnav,footer { margin:0px; padding:0px; } #container { position:absolute; background-color:#FFF; left: 136px; … | |
Hi, I am new to html and I am reading the html and the css code of the website: http://www.quarryequipments.com/ I notice that if I make the browser size small, the li element in the navigation will not float left, how do I make it out? thanks. | |
I am trying to align some text vertically with an image next to it, as in: [http://204.10.65.195/get_involved.php](http://204.10.65.195/get_involved.php) On the bottom half of the page, you can see that I have a bunch of images, each one with some text next to it. I want the text to appear in the … | |
Hi all. I need help with one HTML form. I taked a web sie template and formed it to suit my need but at the end the form build in it was not working. I have add php file and action to use the php file from what i have … | |
I'm almost done experimenting on how make the slideshow background clickable http://www.gracetous.org/test/ but I was hoping the mega menu dropdown will show up without adjusting the height since its responsive, is there any hope to this? | |
def GenContent(address,what): return urllib.urlopen("http://www.yelp.com/search?find_desc="+what+"&#find_loc="+address).read() I am using python to do this. It works prefectly in my browser. | |
im trying to put an image in the background of my form so that it cptures full screen n i donno how to dp that. my code is follows: Me.BackgroundImage = System.Drawing.Image.FromFile("school.jpg") | |
Hi all, I have taken from net drop down menu (Drop down chrome menu). it is written in Object oriented background. but i would like to get it simple and concise. i wrote it in a prosedural background again. below is original script. 1-is HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
Hi, I would like to have my pop-up(upon clicking create order) to be visible even after an error msg appears. How can I do it? <?php $selection = ''; $type = ''; $size = ''; $bidprice = ''; $offerprice = ''; $stoploss = NULL; $takeprofit = ''; //////////////////////////////// $Error = … | |
I have the following code executed on window load: var focuscheck = setInterval(focuswindow, 1000); $(anotherwindow).focus(function() { focuscheck = setInterval(focuswindow, 1000); }); $(anotherwindow).blur(function() { clearInterval(focuscheck); $("iframe:first", anotherwindow.document).on("mouseover", function(event) { focuscheck = setInterval(focuswindow, 1000); }); }); anotherwindow and focuswindow are fine so I won't post code for that. So this is how … | |
I have a INDEX.html and some <DIV>'s that are populated with external HTML-files using jQuery LOAD() Some of the external HTML's also contains Javascripts. Seperately these external HTML's all perform well, when displayed in the DIV the script won't run. There should be a solution to this but I cannot … | |
Dear all, :confused: If I have a javascript variable with a value in it. How do I RETRIEVE the value of it and insert it into my <TD> cell? I am using a table to input values to <CANVAS> tag to draw a graph based on the values in <TD> … | |
Hi I want to make a dictionry using html5. For example I have words 1. good 2. bad 3. hot 4. cold Now I want that in index page this words will be shown as 3 column. If I click on any word, the meaning of the word should display. … | |
Hi, how can i know (with an alert) the value i selected, from the #layout_select: <script> $(document).ready(function() { var optarray = $("#layout_select").children('option').map(function() { return { "value": this.value, "option": "<option value='" + this.value + "'>" + this.text + "</option>" } }) $("#column_select").change(function() { $("#layout_select").children('option').remove(); var addoptarr = []; for (i = … | |
Im working with dreamweaver, coded in php On one of my pages, i'm trying to add 2 different print buttons each one printing a differrent portion of the webpage. For example, one print button is printing the first paragraph and the other print button is printting the second paragraph. I … | |
I have a page on my website that has three columns of images. I want to use responsive web design to resize it, so that when the screen gets smaller, it becomes two columns, and when it gets even smaller, the design should become 1 column. I want to use … | |
My code works it does extract links, but these links are not what i expected to be extracted. My program would extract links inside the <a href tag which contains a specific word which i can set manually. Here is my complete code: Private Sub Button1_Click(sender As Object, e As … | |
hi am having problem to deploy my java web application. I'm using myEclipse for spring 10 and tomcat 7. am having these errors: org.apache.catalina.core.StandardContext startInternal SEVERE: Error listenerStart org.apache.catalina.core.StandardContext startInternal SEVERE: Context [/projectname] startup failed due to previous errors Anyone know how to solve this issue? |
The End.