14,212 Topics
Hi, I want to insert various images (slideshow) as a banner, here's the code: (i think it's ok) [CODE]<?PHP $dbhost = 'localhost'; $dbuser = 'root'; $dbpass = ''; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'); $dbname = 'destaques'; mysql_select_db($dbname); ?> <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> <script …
I just started using HTML5 in my documents, and at this point, I'm missing XHTML's <center> tag. I've tried using text-align to center the element, but it doesn't seem like it works on .lbi files. Any advice on how to center an .lbi library element?
i want to edit my webpages in the Cpanel yet i con't locate them in the public html folder. how can i locate them?
Dear Sir, I have following codes [CODE]<html> <style type="text/css"> html { padding:0;margin:0 auto; } body { padding:0;margin:0 auto; } #content { position:absolute; width:500px;height:600px; color:red;background:#e3eeff; padding:10px;border:1px solid green; } #div_left { position:absolute; width:200px;height:400px;left:20px;top:20px; color:yellow;background:#e3eeff; padding:10px;border:1px solid orange; } #div_right { position:absolute; width:200px;height:400px;left:250px;top:20px; color:red;background:#e3eeff; padding:10px;border:1px solid blue; } </style> <body> <div id="content"> …
Well, i am making a blog in which i have to show images and links in my every post.So i have to use <a> & <img> tags in my post. but I m also using htmlentities function for "post" string variable ( like this -- <?php echo htmlentities($post); ?> ) …
Hi Experts, Thanks for helping me.I have css created in 2003, but now when i check on [url]http://www.htmlhelp.com/cgi-bin/csscheck.cgi[/url], it has many errors and warning. I am really new to CSS or You can say nothing on css. FILTER WRITING-MODE ERRORS and other. I need urgent HELP HERE is MY CSS …
Hi, I am trying to create to a nice looking site layout with css. index.html [CODE] <div id="testimoni"> <section class="testi-left"> <figure><img alt="testimoni image" src="img/testimoni-img.jpg" /> <figcaption><strong>Michael Caine</strong><br><em>designme.com</em></figcaption> </figure> <article><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque faucibus laoreet massa, vitae suscipit risus eleifend quis. Curabitur tristique convallis neque, vel …
Hi, I have code below and want to modify it in order to place all the images to the edges of div. The problem is, I cannot align bottom images correctly however top edge images are fine. It should be cross browser compatible though. Thanks in advance [code] <style> #imgleftttop{ …
I am attempting to make my first website, however I have hit a hurdle in what appears to be browser compatability issues (or I could be talking nonsense?). I am wanting to stretch an image to act as my background of my website,the only issue is it won't work in …
[CODE] body { font: normal 12px auto "Trebuchet MS", Verdana; background-color: #ffffff; color: #4f6b72; } .popUpStyle { font: normal 11px auto "Trebuchet MS", Verdana; background-color: #ffffff; color: #4f6b72; padding:6px; filter: alpha(opacity=80); opacity: 0.8; } .drag { background-color: #dddddd; cursor: move; border:solid 1px gray ; } [/CODE] This main problem is …
Hey Is it possible to run a Java Servlet that loads a .html page that has a bunch of JS scripts in it? I know how to load a normal .html page (I believe it is correct) but not sure if it works if it has Javascript as well. Thanks.
Hi I am creating an basic online menu ordering system, what i want to do is display the typical chilli level, vegetarian and nut icons/symbols along side a dish name. I have a product table which has all the required field which will be called out. spice level, veg and …
I have incorporated some excellent CSS/Jquery functionality into my site, but i'm having trouble editing the CSS to make the presentation more flexible. The CSS builds a container, into which I can insert text and call via Jquery. I am using this for my help function. CSS also overlays an …
I'm having trouble making the following code work. I'm trying to change text in "columnleft" with the showMess function, when I hover on the paragraph with the class "title." The really frustrating part is that this code has worked elsewhere for me. What am I missing? [code] <!DOCTYPE html PUBLIC …
In a nutshell, my company is using several different programs that use a string of data regarding personal appearance information for different TV/movie character. This data need to be read in a very strict manner. (The following example is exactly how we need to input the information... including all brackets …
Well is there any built-in function to do this ?, or 3rd party library EXAMPLE code [CODE]source := Sock.Get('http://www.google.com/'); if source('Google Search Engine', a) > 0 then begin NeededPattern := GetPattern(source, '<font>','</font>'); result := neededPattern; // will display ABC of the <font>ABC</font> end;[/CODE] Then it will get the middle of …
I have an index.php. page which is a search on my MySQL database to update HTML tables in my results.php page. I have a form on the index page as the search which is like this: <form action="results.php." method="post"> Search: <select name="searchtype"> <option value="Date">Date</option> <option value="Wk No.">Wk #</option> <option value="Artist">Artist</option> <option …
For several days now, Daniweb pages are appearing here with most if not all images missing, eg. DANIWEB in the masthead, avatars, topic status icons, editor icons (except [ICODE], which I know was a recent addition). Facebook and Twitter logos are OK. Right-click>reload image has no effect. The problem appeared …
i need codes to register 1 cricket player name date of birth age address contact number national identity card number email address batting style bowling style training date and submit button when member is registered he will receive a member id when member wants to log in he must type …
What is the difference between HTML and xml
Hi, i want to make a form with a timer. when the timer passes 100 then the background will change, and this will loop. but how to make it?
im trying to concatinate my birthdate dropdown MM,DD,YY in Textbox.. it wont save, please help me with my code.... [CODE] <p class="studmen">Birthdate<input name="bdate" type="text" value="<?php echo $bday=$mm.$dd.$yy;?>"/> <select name="<?php $mm;?>"> <option value=""></option> <option>Jan</option> </select> <select name="<?php $dd;?>" > <option value=""></option> <option>1</option> </select> <select name="<?php $yy;?>"> <option value="" ></option> <option>1990</option> [/CODE]
this is my html code in which i want to get info from the server and insert it into the list items and show it in the browser, using loop .so i am using php but this code is not working for me . please somebody help me !!!!!!!!![CODE]<body> <div …
Can anybody help me to make marquee in 3D and how to run it in circle via HTML.I mean when the whole description of marquee about to end,it automatically start from other end before the previous marquee ends.
Hi im 14 and am getting into web development mainly because my dad does it and i think its really cool what you can do with html5 and CSS and javascript, i want to make somthing not to complicated but somthing cool that would show my dad that i can …
hi, am new to web disigning. And i am designing a web page using joomla. And i want to add a drop down list to my page. I tried to search for the extensions but i din find any. As i am also new to this css and html, so …
i installed nivo slider with thumbnail into the web page i created. But if i multiple the amount of pictures they shift down to the second row and they stacks over each other. Can anyone help me so that to make thumbnails only desired amount. for ex if amount of …
Hi, I have a transparent circle (20X20) in PNG format. I want to use it to make a DIV or TABLE with rounded edges. How can I do it with CSS? I tried with some examples but none of them were cross-browser compatible. Thanks
Any one help me to create a chat box (HTML/JS)for my site. Many web sites provide the chat box which referring their site. I don't want that kind of chat box. I need a complete code for chat with all functions. If i get the code to login with nick …
can anyone say how can we link a css file to a php file.. I tried this [CODE]<link rel="stylesheet" href="site.css">[/CODE] here site.css is my css file and i am including this in home.php file in the head section. but i am not able to get the effects in the webpage. …
My problem is that I am trying to execute a function on button click event but it just shows not even for a sec it just flashes. html & Javascript : [CODE]<html> <head> <script type="text/javascript"> function createLabel(){ /*Get UserName*/ var unString = document.createElement("label"); unString.className = "userName"; var uName = document.getElementById("username").innerHTML; …
How I can add as so many as <input type="file"> same as in GMAIL (add Input Type File dynamically) and send all attachments into an email. Example: If select 10 files then it should be send into email.
how to show a javascript warning message for some specific words from a textfield. if a user write [B][COLOR="Red"]http://[/COLOR][/B] and [B][COLOR="Red"]/[/COLOR][/B] in a textfield and click on the Submit button of my form then a javascript will show a error message to the user and submission will stop. How to …
Hi, What's the difference between these two codes: gallery/index.php [CODE] <link rel="stylesheet" type="text/css" href="css/sliderkit-core.css" media="screen, projection" /> <link rel="stylesheet" type="text/css" href="css/sliderkit-demos.css" media="screen, projection" /> <link rel="stylesheet" href="css/main.css" type="text/css" /> <!--[if IE 6]> <link rel="stylesheet" type="text/css" href="css/sliderkit-demos-ie6.css" /> <![endif]--> <!--[if IE 7]> <![endif]--> <link rel="stylesheet" type="text/css" href="css/sliderkit-demos-ie7.css" /> <!--[if IE 8]> …
hello what i used just like grid view work except gridview which can fetch all record from database to on html source.what html souce i used.. plz help me and plz give me an example...
Hi I would like to change a css rule,with javascript this is what i have so far?? [CODE] body{ font-family: Arial, Helvetica, sans-serif; font-size: 12px; /* [disabled]line-height: 17px; */ color: #ffffff; background: url(images/bg.jpg); <script> function changeStyle() { var mySheet = document.styleSheets[0].rules || document.styleSheets[0].cssRule; for(var i=0; i<mySheet.length;i++) { if(mySheet[i].selectorText == "body") …
I need to to send variables between two forms in the same project is that possible ?? also can I change the color of some text in text box but not the whole the text ?? Thanks in advance
ok first its a asp.net web application second i left the folder structure defualt style i added some images to style\images then i dragged them into the the master page they dont show up on the register page login page etc one images does which is in a sub folder …
The code below was originally posted by langsor in 2008, I’ve adapted it to pass JavaScript values to a new page. I’d like the link to open the page in a new window, tab or iframe. I believe the code for a new window involves something to do with “target=_blank” …
hi, i have implemented a calendar in php and added contols to display the previous and next months. How will I enhance my code to add links to display the previous and next year calendars? My code is as follows: [CODE] <?php session_start(); $_SESSION['username']; $_SESSION['unique_id']; $username = $_SESSION['username']; $unique_id = …
I have a dropdown menu and some buttons below in my HTML: [CODE]<p> <select name="numberDrop" id="numberDropId" onClick="getButtons()"> <option value=""></option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> </select> </p> <p> <input class="answerBtns" name="answerA" type="button" value="A" /> <input class="answerBtns" name="answerB" type="button" value="B" /> <input class="answerBtns" name="answerC" type="button" value="C" /> <input class="answerBtns" …
Dear all, I have php file which is returning result from server which are shown as group list, this result i want to pass to the dialog box as in drop-down selection, posting the code as below of group.php. I am getting php result correctly but need to integrate in …
hey i'm trying to make a traffic light that when the mouse rolls over a certain light the colour will show. then if the light is clicked the colour will either turn on or off... this is what i have so long. [CODE]<html> <head> <style type="text/css"> #trafficLight { border:1px solid …
Hi, I'm having some issues with checkboxes. When I submit the form and the email is sent, the check box area is empty. There is no information listed. When I tried to change the code, it would only show one of the options and not all that have been picked. …
Hey Guys, I have an issue with my checkbox and the values that are posted to the next page. The issue is that each time the checkbox is clicked it just adds another value. example - if i check it and uncheck it and check it again i will get …
Hi guys, This is what I wanted to do. 1. When I hover my mouse on the sidemenu. It will change it background color. Here is my codes. [code=css] #main-sidebar { width: 185px; float: left; padding-right: 10px; } #article-sidebar { color: #0b73b7; font-size: 14px; font-weight: bold; } #article-sidebar li { …
I have a switch function with four cases: each case executes a sequence of six css changes. How to stop it, if the viewer wants to abort, by choose another menu option? I've done a trawl, and the closest I've come to finding something which could be adapted is from …
hello, I have written some code for it but it's not displaying date's in <td> where is the problem can any body tell me. [code=php] <?php //Get year 2008 $year = date('Y'); echo "Year $year</br>"; //get month $month = date('n'); echo "Month $month</br>"; //get day $day = date('j'); echo "Day …
The End.