14,212 Topics
Hi, I'm using a javascript function to toggle and display only 1 div at a time. In this case, I have 3 divs as toggle buttons and 3 divs to show content (which belong to those 3 buttons). My problem is these 3 divs (divs with class .linkBox) that act …
I have been trying to learn CSS for a while now. I have been working in C++ for quite some time now so i thought hey CSS should be a walk in a park but it has proved to be enormously difficult for me. The main thing that seem to …
Hello I have converted a ogg video to WebM using VLC Player. If i embed my video's it doesnt work in firefox. Firefox tries to use the WebM format. But for some reason it isnt working. The video: [url]http://corne.testingserver.nl/school/weer/ot/assets/weather.webm[/url] My code: [CODE]<video id="vbg_video"> <source src="assets/weather.webm" type="video/webm"> <source src="assets/weather.ogv" type="video/ogg"> <source …
Hi All, Just a quick one, My code (Below) works in Internet Explorer, but not in Chrome, Safari or Mozilla Firefox. Not sure why, but would it be possible for someone to point me in the right direction? Thanks! Code attached; [CODE=Javascript]<script language="javascript"> function formAction(flag) { switch (flag){ case "create": …
How can you use the "contenteditable" attribute to edit your site or lists but not have the general public do the same. Maybe just in a admin panel view? and Is this just easier for the developer to change content on the fly? I just don't see how it can …
Hi, I've never had a job in web development before but I've been independently learning several languages and building websites recently. I hope to get an internship at a web development firm somewhere around Europe in this next year. I've been putting together a portfolio website which has some complex …
Im on chrome 16.0.912.21 beta and my transitions are not working. One thing i noticed is that when there is no full url on the link href, the transition works. When there IS a full url the transition stops working...i don't get it. check out this link: [url]http://elneco.biz/idk/[/url] any help …
Hi Everyone, I am trying to achieve something without the usage of jQuery. Can be done with it but want to find a solution with only css pseudo classes. So here's what I have so far. A tabbed UI which opens a dropdown menu with a click action using the …
Ok well I have a DIV menu bar that I want to stretch 100% in height. It worked perfectly fine until I added the XHTML doctype. So I tried absolute positioning which worked but then my other divs started overlapping them. So I want to know if there is any …
Hi, i am in the middle of creating my new website, i have just started with the logo/topbar section however i am running into trouble with resolution and positioning. What i want is for all the elements to stay where they are, when the user zooms in and out. However …
a friend of mine told me that there are websites that are designed using css only, no html or div involved. does anyone here know about it. if so, could u direct me to a site that would be helpful in my learning? :)
Hey, I was given a task for a class to make a table that shows 1-10 in the first column, the square of 1-10 in the next column and the cube of 1-10 in the last column. Well I got it to work it just looks sloppy to me and …
I have this code [ICODE] Facilities: <?=$Product->facilities;?><br /><? } ?>[/ICODE] It's display result like this: [B]Facilities: One, Two, three[/B] Is there a way i can make it display in a [B]tabular form[/B]? I have check the databse and it display like Facilities: One, Two, three Thank you in anticipation.
I'm having trouble while creating FaceBook style Wall. I'm not getting how to create database and post status or images or link to database Please help me to create FaceBook style Wall Following is my wall page code [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> …
i need to develop page to show the data in multiple pages.page numbers should be shown at the bottom. on click on page no. the website will show data of that page like google search.probably it is called penigation.
Hi, I have started a site [url]www.techozine.com[/url]. The theme I picked looks great in all browsers but the sidebar is severely distorted in internet explorer. Also the categories tab below the headline is not properly highlighted as in other browsers. Since the site is in wordpress, I cannot figure out …
I have an iFrame that is 1024px X 700px. I removed the scrollbars using Scrolling="No" because the scrollbars don't look very pleasing to my eyes. I use javascript to scroll the iFrame but for the life of me, I cannot figure out how to detect if I'm already at the …
My website is bandstandmag.com and besides the home page, I can't get the other pages to center on the screen. Specifically: http://bandstandmag.com/index.html/IslandTigers.html I'm really sorry everything's so cluttered, this is my first time creating a website. My problem is I can't get the page to center and I've tried tons …
Using onMouseOver in a link - I am able to display a file's contents in a frame. - I can display an image file in an IMG tag But I can't figure out how to combine the two. What I want to do is onMouseOver display the contents of a …
[IMG]http://i.imgur.com/DGegu.png[/IMG] I have that page above.. But the thing is the entire website was made using an iFrame that loads another page.. Each page has one of those at the bottom. Thing is when the main page loads the second page, there are duplicates of those at the bottom. I …
Hello, I'm trying to calculate the center of a DIV element. But it doesn't seem to be working, I don't quite get what to do with the calculations.. Here's my code: [code] <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <style type="text/css"> body { background-color: #cccccc; } .rectangle { width: 400px; height: 100px; border-style:solid; …
Ok i have written a CSS code for body [CODE] body { margin: 0 auto; } #header { font-family: Georgia,Times,serif; } [/CODE] With the CSS code for body everything that's inside the body should be placed in the center of the page because the body is in the center. In …
Hello. My problem is this: I have a table, for which the row and cols number is given by the user. They contai images. Occasionally a cells picture will be changed. The question I have is this: How to do that? I will be able to compute which cell need …
Hey, I would welcome some advice here. I'm developing my first Drupal site and I am using Zen as my starter theme and creating a sub-theme. I've got my navigation set up in the second (right) sidebar. I would like all of the inactive navigation links to have the same …
I am trying to position the menu bar at the top of the div, but it appears at the bottom of the div and can hardly be read. I have searched and done all i have found on the net. Pls help with any ideas. Here is the code with. …
Can anyone give me a nice css code for my login and registration page , I already have my php code...I only need a nice css....thanks
'ellos So I'm making a Hangman game, and for the sake of completeness I want to have a HELP feature. When the Help button is clicked, a browser window should open up (not *within* the game frame... but just generally) and display the HTML Help file. How do I do …
Hi guys, I m able to do pagination. But I face another challenge where I once click next,prev or page number,it will refresh the accordion. let say i got 3 headers of accordion.namely A,B,C. After clicking any function in either B or C. It will auto refresh to header A. …
Hi, how do i make a notepad where i can program html in (using richtextbox). Example: i type in <html>, i want only this text to be blue. and if i type in <?php ?> then i want this to be red. please help :D
Hey I have recently started to learn canvas in html5. As of now I can draw all the basic shapes rectangles arcs etc. I am also able to get the mouse coordinates and show them in a text box in the main body of the html. I am just wondering …
Hello all!!! My Javascript menu is giving me some problems. whenever i hover the mouse over the menu the dropdown is hiding behind the javascript slideshow. can u plz help me out. Here is the link to the website. [url]http://www.sewaindia.org/[/url]
I have this code that displays a thumbnail strip and then when you mouse over a thumbnail a bigger images shows up over the strip. The problem is it only is working on some of them and only when the mouse is over a certain part of the picture. When …
Hi guys, iframe allowtransparency doesn't seem to work on IE7 and IE8. Users with OS Win7 don't have that same problem. Can anyone help? Thanks, C.
hey daniwebs users im currenttly in making of a site from scratch but i need help coding a forum page and a login form/registration form. now i know most of you are gonna point me to a php/mysql coding thing but i do not know one thing about that type …
Hi all, I'm going to write a program to play this silly online game that I waste too much of my time with, so I'm here looking for advice. Which language do you recommend I use? The game is entirely html / css based with all of the commands being …
Hi, This is a demo of what I'm trying to do: [CODE]<html> <head> <script type="text/javascript"> window.onresize = resize; function resize() { if (document.getElementById('elm1').offsetWidth < 1000) { document.getElementById('elm2').style.width = 1000 } if (document.getElementById('elm1').offsetHeight < 600) { document.getElementById('elm2').style.height = 600 } if (document.getElementById('elm1').offsetWidth > 1000) { document.getElementById('elm2').style.width = "100%" } if (document.getElementById('elm1').offsetHeight …
I'm developing a web app in which I have a file upload option. The thing is, my file input is hidden, and instead, a textbox and a button are used, in order to style the input, copy the file input's value and allowing the user write a link address into …
hi, how do you get the html file to run the java applet in a webbrowser. I need to have a html file which will allow me to view this applet in a web browser. im using eclipse to write the code for the applet. [CODE] import java.awt.Graphics; import javax.swing.JApplet; …
[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <table class="container"> <table class="content"> <h1><img src="207949_1014412613249_1613093370_31441_3744_n.jpg" width="604" height="453" alt="my picture" /></h1> <h1>Καλωσήρθατε!!!!</h1> <p> Ονομάζομαι και αυτή είναι η πρώτη μου Ιστοσελίδα. </p> <h2>About me!!!</h2> <p> Είμαι …
I currently have fields on my form which are set up as integers in phpmyadmin. I want to be able to display error messages if any field has been left blank when save is clicked, but at the moment i keep getting column '......' cannot be null. or maybe an …
Hello people, I have downloaded a datepicker in order to use it in my script so as to allow people to pick their date of birth. The date picker in question is this one : core.ui.datepicker/ui.datepicker.js It works, but the problem is that it shows only the years that start …
What is the difference between STRONG and BOLD tag? Which tag Google prefers more <strong> or <b>?
Here is the code It's an Open type free use code for convert css to inline style codes by capturing from your own html code or a url and it outputs an html code when finished. Because i need to send webpages in an e-mail. I am brand new to …
having much problem in email. i tried everything..but dont know whats hapening im getting simple plain text email while im sending the html input [CODE] { $from_name= ADMIN_NAME; $from_email=ADMIN_EMAIL; $subject="Simple html email"; $message = '<h1>Hello, World!</h1> </br>'.$_POST['msg']; $headers = "From: $from_name <$from_email>\r\n"; $headers .= "Reply-To: $from_name <$from_email>\r\n"; $headers .= "Return-Path: …
Hello, im trying to do a single html page with multiple checkboxes to hide/show text when checked/unchecked. I'm really bad at html but so far I have got this: The problem I have is I dont know how to add more checkboxes. Would appreciate some help. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD …
Hi, I'm stucked with a problem, hope somebody can help me. The problem is that i have a string with webpage source and i need to retrieve all the text instances between <pre> and </pre> tags, i already know how to retrive the first ocurrence using: [CODE] dim start as …
I am trying to input an option into exist code but i get this error: "Undefined variable: options in /home/dealsyno/xxxx/product/category.tpl on line 91" Kindly see below the code. [ICODE]<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?> <div id="content"><?php echo $content_top; ?> <div class="breadcrumb"> <?php foreach ($breadcrumbs as $breadcrumb) …
Hello, I'm working on a small web app in C#, I have made the database and created a gridview to display and edit the data. I just want to know how can I turn a textbox field (in the update view) to textarea so I can see the whole text …
[CODE]<html> <title>Asia Ghee Mills</title> <style type="text/css"> #menu {float: left; width:15%;height:400px; background-color:pink; padding:5px 5px 5px 5px; font-size:15pt;color:green;font-family:arial; margin-top:10px;margin-left:0px; line-height:28px} #menu img {width:100%;height:200px;} a:link {color: blue; text-decoration: none;text-decoration:underline; } a:visited {color: red; text-decoration: none; } a:hover {color:blue; background:url("skyblue.bmp");text-decoration:underline;font-weight:bold} </style> <DIV id="menu"><img src="images4.jpg" alt=" "> <A HREF="http://wwww.a.com">Home</a><br> <A HREF="http://wwww.a.com">Products</a><br> <A HREF="http://wwww.a.com">Health Tips</a><br> <A …
How would I get a value in between the two quotes after value=? So, value="hi my name is bob" /> would return: hi my name is bob or value="Ouch! "that hurt" lol..." /> would return: Ouch! "that hurt" lol... so basically I know the value=" TEXT_HERE " /> will always …
The End.