6,562 Topics

Member Avatar for
Member Avatar for prasadssaitwal

<?php function getlink($x) { $y=$x.'.php'; return($y); } $a=array('0','1','2','3','4'); for($i=0;$i<5;$i++) { echo '<li><a href='.getlink($a[$i]).'>'.$a[$i].'</li>'; } echo '<iframe src="">'; ?> when i click on the links instead of new tab it should be open in iframe

Member Avatar for veedeoo
0
386
Member Avatar for rfrapp

I believe that one of the pages of the site that I'm creating is shifted slihtly to the left. I may be going crazy, but I'm pretty sure that's what's happening. The page that I believe is shifted is: http://armyants.us/members.php?steam=All If you guys could help me out here, then that's …

Member Avatar for EvolutionFallen
0
113
Member Avatar for jspence29

I have a one page website http://spencedesign.netau.net/SNL/SNL.html#home I am using anchors and targets, I am using overflow-y: auto; but the scroll bar only displays when the screen is big enough, so it works on my 1920 by 1080 desktop, but not on an average size laptop, how do I make …

Member Avatar for gauravkumaralwar
0
119
Member Avatar for varma51

hii this my code.the problem is i'm changing the background color for an header using on click function in javascript.but wen i did page refreshing the default background color is appearing.i want to dislay the changed background color of that header wen once on click function is done. please help …

Member Avatar for diafol
0
275
Member Avatar for Wailintun

Hi! I want to know how to hide src source in html Now I disabled right click to my web page and it can still view source code by ctrl+u. please tell me how to hide source code in html. http://www.immihelp.com/visitor-visa/sponsor-documents.html this site hide it's source code.

Member Avatar for urtrivedi
0
62
Member Avatar for DyO1

Hello, I need a code that checks if a button is pressed to change the BackGround Image of Picture Box So when the button is pressed,a backgroundimage of a picturebox must be changed I tried to use PictureBox1.BackgroundImage.FromFile("IMAGE.bmp") *THE IMAGE IS IN THE PROJECT,IT'S NOT ON THE HARD DRIVE ANYMORE**but …

Member Avatar for tinstaafl
0
117
Member Avatar for Navlag

Hello, I am using the tutorial from Oracle's site on how to connect to a database in PHP using code similar to the one shown below. <?php // Create connection to Oracle $conn = oci_connect("phphol", "welcome", "//localhost/orcl"); $query = 'select * from departments'; $stid = oci_parse($conn, $query); $r = oci_execute($stid); …

Member Avatar for Navlag
0
126
Member Avatar for Eyeteeorg

I have a simple html webpage currently implemented, and my Firefox web console has the following complaint about it when loaded remotely: [13:08:03.588] The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from …

Member Avatar for Eyeteeorg
0
121
Member Avatar for chris99

I know the code, but not the tags to enclose it within. Current HTML: <!DOCTYPE html> <html> <head> <script language="JavaScript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#Reindeer').sortable(); }); </script> <script> if (window.XMLHttpRequest) { xmlHttp=new XMLHttpRequest(); } else { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlHttp.open("GET","xmlExample.xml",false); xmlHttp.send(); xmlDoc=xmlHttp.responseXML; function displayComments() { content=(x[i].getElementsByTagName("content")[0].childNodes[0].nodeValue); txt="Comment: …

Member Avatar for chris99
0
235
Member Avatar for Eyeteeorg

I'm just learning html but already have a domain, so I did a quick and dirty under construction page to replace the advertising-littered default page that the webhost was using. It's dirt-simple and not very good, but I'll make it better as time goes on. Is there any rule I'm …

Member Avatar for margaret224
0
210
Member Avatar for wolfgangcs

Grabbing this "loadcssfile" from http://www.javascriptkit.com/javatutors/loadjavascriptcss.shtml and added the check device. This is the best I have and I may just be entirly confused! I want to change the CSS file depending on the device before the rest of the page loads. function checkDevice(){ if(window.isiPad){ // do nothing } else { …

Member Avatar for wolfgangcs
0
226
Member Avatar for ajitdas57

What is the html code to make horizontal boxes i need to make some boxes go from left to right but all i can find is on top of each other, you can see example here <a href="http://www.carinsurancequotesinformation.com&quot;>car insurance quotes</a> where the boxes are next to each other, and will …

Member Avatar for Taywin
0
100
Member Avatar for sleepswim

Hi all, i've heard from many that i should stop using iframes and css instead. Although, all i really use iframes for is to load a page from another site into mine. Is there a way I can do this with css? or is it something i should just stick …

Member Avatar for drjohn
0
117
Member Avatar for cssweb

helo guys how are you, my proplem is the div has exceed the footer and this image will clarify what do i mean http://s2.postimage.org/4x5ur7955/555.jpg this is all codes which i used #left{//this div for left side float:left; width:140; margin:0px; } #right{this is for right side float:right; width:140; margin:0px; } #headblcok{//this …

Member Avatar for cssweb
0
113
Member Avatar for mattsearle

Hi I am trying to use the code below more than once within a web page. I have tried changing the id's of the div, getElementid and outDiv, however only one of the scripts will work. Is the outDIV.innerHTML the problem. Inline Code Example Here <link rel="stylesheet" type="text/css"> <style> div …

Member Avatar for mattsearle
0
173
Member Avatar for germainelol1

I have the following `layout.jade` code !!! html head title= title link(rel='stylesheet', href='/vendor/bootstrap.min.css') link(rel='stylesheet', href='/css/style.css') script(type='text/javascript') (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); body!= body And the …

Member Avatar for LastMitch
0
387
Member Avatar for while(!success)

Hi guys, I have an ImageButton control in asp.net calling a javascript function to display it in block. The elements have their own css classes, but they do not appear in the context that I gave them. I am assuming this is a problem with my css because the javascript …

Member Avatar for JorgeM
0
161
Member Avatar for sunnykeerthi

Hi, i have a html page with 3 frames(Index.html), and the preview is as in the screenshot. Here in Welcome.html i have a button named block. when i click this button i want left.html to be disabled(the frame in left side), i'm able to do it., but the form elements(the …

Member Avatar for AleMonteiro
0
641
Member Avatar for ello

Hi there, I've been researching the correct layout for html5 web pages, and I'm a little unsure on how something like this should look: <div class="main-container"> <div class="main wrapper clearfix"> <div class="canvas gu6"> <div class="example-grid"> <div class="row"> <div class="col gu1"> <img src="img/1.jpg"> <div class="description"> <h2>Test</h2> <p>Test, Test, Test.</p> </div> </div> …

Member Avatar for dany12
0
129
Member Avatar for PriteshP23

I would like to design HTML form with css and validation. I want to have Textbox with colours indication. I have done with button to make it more meaningful. I would like to do same for the textbox. I want to have light blue colour bydefault and when one clicks, …

Member Avatar for PriteshP23
0
278
Member Avatar for sethwcaton

I'm using the exact code snippet (Step 1 of the Simple Version) from this page hosted by the developers of BreezingForms for Joomla!, modified only to have the correct table and field names, and the name of the select list in the form: http://crosstec.de/media/kunena/attachments/59203/BreezingFormsscriptdev.txt All I want to do in …

Member Avatar for pritaeas
0
584
Member Avatar for jspence29

How can I make a table 100% width. For example, here http://spencedesign.netau.net/SNL/SNL.html#page3 I want this table to be the length of the panel, but I can't figure it out. I tried making the trs 100%, I tried just making the table 100%. I thought about changing the padding and the …

Member Avatar for JorgeM
0
98
Member Avatar for Vingklippt

**<iframe width="608" frameborder="0" id="mainframe" name="mainframe" onload="$(this).height($(this).contents().height());" src="mindex/forratt.php" scrolling="no" /></iframe>** So I have written this code to automatically adjust the iframe to its content and it works fine. The thing is that when I access a page with a lower height, the height from the previous page stays put. I want …

Member Avatar for Vingklippt
0
287
Member Avatar for varma51

<html> <title>Student Registration(1.html) </title> <body> <form name="fin" action="2.php" Method="post"> <table> <Caption> Student Registration </Caption> <tr> <td> Student Name: <input type='text' name='Sname' /> </td></tr> <tr> <td> Student id: <input type='number' name='Sid' /> </td></tr> <tr> <td> Student Class: <input type='text' name='Sclass' /> </td></tr> <tr> <td> <input type='submit' value='Next" /> </td></tr> </table> </form> …

Member Avatar for FakeTales
0
180
Member Avatar for Static-FMX-Prog

[FONT=Book Antiqua]Hello, Is CuteHTML Pro a good program to make PHP scripts?[/FONT] [COLOR=DarkOrange]Plz help asap..ty![/COLOR]

Member Avatar for LastMitch
0
138
Member Avatar for Violet_82

Hi I am trying to give some sense to this expression #container, #footer { width: expression(document.body.clientWidth < 742? "740px" : document.body.clientWidth > 1202? "1200px" : "auto"); } found on here http://www.cameronmoll.com/archives/000892.html but I can't quite get it. Is it saying if the width of the page is less than 745 …

Member Avatar for Violet_82
0
110
Member Avatar for rfrapp

I have a page that loads dynamic content (comments, to be specific). The comments are floated to the left, and the "Add a comment" div is floated right. For some reason, the add a comment div is being pushed down by the comment divs. The link to the page is: …

Member Avatar for rfrapp
0
2K
Member Avatar for qwertpink

Hi all, Im trying to add sizes to the cart. However, i cant pass size over. please help. $result = $db->query($sql); $output[] = '<ul>'; while ($row = $result->fetch()) { $output[] = '<br><font color="837F77"size="6">'.$row['name'].' </font><br></br> S$'.$row['price'].'<br></br>'; $output[] = '<select name="size"> <option disabled="disabled" selected value="NA" >Size</option>'; if ($row[small_qty]== 0){ $output[] = ' …

Member Avatar for qwertpink
0
376
Member Avatar for PriteshP23

I would like to know why the content section is taking more width in my design page? Here is my CSS code : body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; color:#414141 } p { padding-left: 10px; padding-right: 10px; } #wrapper { width: 100%; min-width: 100%px; max-width: 100%px; margin: …

Member Avatar for PriteshP23
0
250
Member Avatar for constance.dobbins

Hi, I am a newbie to html. I have a project I am doing for school. Can someone take a look at my code and see what is wrong? After I put my answers in the form, my results will not populate. Any help appreciated <html> <head> <title> My Fun …

Member Avatar for pritaeas
0
2K

The End.