10,452 Topics
![]() | |
Hey there, I'm still kinda learning JS. I can't figure this one out. I googled and discovered the issues is with placing the <!DOCTYPE html> tag at the top, but how to resolve the issue? I've a document with some Javascript and JQuery in it, it works great! I add … | |
Following code shows live search box. But it does not disappear when clicked on page anywhere or pressing escape key. How to hide search result when clicked anywhere or pressed escape key? index.html [CODE]<script type="text/javascript" src="jquery.js"></script> </script> $(document).ready(function(){ $(".search").keyup(function() { var searchbox = $(this).val(); var dataString = 'searchword='+ searchbox; if(searchbox=='') … | |
Hi I want to style a horizontal navigation bar so that the current tab, in this case linking to a different webpage is selected, highlighted. I thought that Focus would work but that only works for keyboard navigation. Update: [I] found this, but not during my intial search but in … | |
Ok, I have been dealing with this problem for a while now and I need it fixed. I am starting to design a site at [URL="http://wghandcrafted.com"]http://wghandcrafted.com[/URL] and under the footer at the very bottom of the page there is a 10px white space. I can't figure out what's up. | |
Hi my problem is that logo is showing but behing the header..i want to show logo ofcourse in front of header... my css is #Container { width:1024px; margin-left:10%; margin-right:10%; } #Header { } #Top_Menu { margin-top:-160px; } #Logo { float:left; margin-top:-120px; margin-left:5px; } my html code is <!DOCTYPE html PUBLIC … | |
event_manager.php [CODE] // define variable $id = isset($_POST['id']) ? $_POST['id'] : ''; $event = isset($_POST['event']) ? $_POST['event'] : ''; $tempat = isset($_POST['tempat']) ? $_POST['tempat'] : ''; $mulai = isset($_POST['mulai']) ? $_POST['mulai'] : ''; $selesai = isset($_POST['selesai']) ? $_POST['selesai'] : ''; $keterangan = isset($_POST['keterangan']) ? $_POST['keterangan'] : ''; session_start(); // undefined … | |
Every first time I create a .txt on my server using a Form, it writes like a charm, but when I add a new line in the .txt using also the Form, and view the .txt from a simple file browser made by PHPToys the new line in the .txt … | |
Don't know what I'm doing wrong, but I'm positive it's me. This dropline menu works perfectly in Chrome, but completely goes to crap in every other browser (not just IE, which I'm used to). If you have any pointers, please pass them my way. I've pasted the code - in … | |
Hello, I have downloaded a jquery gallery and made a lot of changes to it. Now I am stuck with one thing that I can't change. The gallery has thumbnails that scorll on the bottom. I want the direction of the big image animation to change. It is hard to … | |
Hello web developers I'm trying to create option "all models" in auto script. so people could choose for example Honda and would choose "all models" of honda and see the results. [CODE]<?php include('head.php'); ?> <body> <body id="homepage"> <style type="text/css"> .t{font-weight:bold;color:#000000;width:200px} select{width:250px} input{width:238px} </style> <div id="container"> <?php include('header.php'); ?> <?php include('menu.php'); … ![]() | |
hey daniweb :) I need to click this button in vb. like click a button in webbrowser1 [CODE]<input type="submit" name="ok" value="send" class="btn sbold slarger">[/CODE] I've scoured through the internet, but alas, i failed to look for a helpful one :\ how would i go about this? Thanks a lot | |
I have to make a calculator on a site to determine a lump sum payout on life insurance, the user would enter all of 1. Gender, 2. Smoker or Not, 3. Monthly Payment. For each of the different variables there is a unique lump sum amount but no way of … | |
Good Morning, I'm new to javascript and the professor ask us to do a javascript program of future value calculation program. The details are: Write a program to find future value of monthly investments. Start with an initial investment, make a deposit every 30days, calculate interest on principle compounded daily, … | |
I'm a web design student who has designed a website for a family member in my spare time. The website uses 5 html documents and all share one css document, it has no jscript docs. Recently, we learned how to use jscript to set up an image gallery in class … | |
I have an html page that gets data from 'hs_hr_employee' table and lays the info in a table on a web page. Then I have another table 'rights' which gets info from 4 columns from the 'hs_hr_employee' table and stores them in columns. In addition to those 4, the 'rights' … | |
I'm trying to create a Google-style bar across the top of my page, but when I hover over the elements, the link text jumps to the top. Can anyone tell me how to keep it on the bottom? My current code is below. [CODE]<html xmlns="[url="http://www.w3.org/1999/xhtml"]http://www.w3.org/1999/xhtml[/url]"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" … | |
I am using this gallery script on a site I am working with and for some reason can not seem to get the Back to Menu ( link ) at the bottom of the code to be at the bottom of the page or at least under the images that … ![]() | |
I have written an application that creates an mhtml file based on information in cache. The MHTML file can be opened in Opera but not Internet explorer. Below is an example of an MHTML file i have created. Does anybody know what im missing? Why wont it open in IE? … | |
How to place many tables in series, having different data? Help Me PLEASE. | |
hi everyone, i have some code that resises an image if its bigger than a certain size... the problem is that although the image is resised, its still pushing the div to the images full size? heres the code [CODE] .dt2 img { max-width: 300px; width: expression(document.body.clientWidth > 300? "300px": … | |
Hey guys i have the following code below for a shopping cart just wondering what this hidden input text would be used for and the echo at the end of it. I know it reads from a text file with : as delimeters and it as an ID for each … | |
I added a background image to my page and it caused the background color for my content to disappear. What is the problem? | |
How to play sound file like .wav file with javascript and/or DHTML when some one mouseover to a link. I have done this... but it only works in IE while it does not work in other browsers like firefox and chrome. Can any body help me regarding this issue. | |
Hi Frendz, How to set opacity for background images? | |
Hello, I have the following page: [URL="http://k-fez.com/example.html"]http://k-fez.com/example.html[/URL] If you mouseover an image, it doubles the size of the image and centers it. However, it displaces the rest of the images. I would like it to just overlay ontop of the other images instead of re-sizing the row/column. Also, I would … | |
Hi, Can someone give an example how the following task can be achieved smartly? I have this Database Table with 2 fields [B]1. Brand_ID 2. Brand_Name[/B] [B]SQL[/B] = SELECT Brand_ID, Brand_Name from brands limit 0,12; and I have to loop through it and place the values in the following HTML … | |
I have a CSS-styled HTML drop-down menu that I want common across all web pages. Right now, I have the HTML coding in each file, but the CSS link is broken in subdirectories so the stlying does not work. How can I get the CSS to be linked properly and … | |
I would like to have multiple id and all using hover link for all #test1, #test2, #test3, #test4 a:hover{ color:#0F0; } this doesn't work. NOT sure why?? thanks | |
Hi all, I would be extremly graeful if you could cast your eye over the following problem and give me some advice if possible. I'm ok with the basics of html and css, but and fairly new to it, so have been stumped by this latest problem. I built a … | |
![]() | Hi, I have url links in an Access Database which open different info screens depending on the record. I want to include some code in the html which isn't blocked by browsers, but restricts the html code to an initial window of approx 800x600, but can be resized, but importantly … |
Hello Daniweb, I'm trying to validate form fields with php via jQuery and everything is working great, except for one thing I can't figure out. I'll try my best to explain. Here's the jQuery: [code] $(document).ready(function(){ $("form#reservation").submit(function(event){ event.preventDefault(); // Prevent default submission of form }); $("input#continueReservation").click(function(event){ event.preventDefault(); // Prevent default … | |
Hi, I'm trying to vertically align the navigation text with the navigation icon/image. I've tried different methods and it's just not working out. Here is the css and the html. [CODE]<head> <title>Navigation</title> <link href='http://fonts.googleapis.com/css?family=Leckerli+One' rel='stylesheet' type='text/css'> <style type="text/css"> <!-- #navbar ul { margin: 0; list-style-type: none; float: right; vertical-align: middle; … | |
Downloaded autocomplete plugin. its not bring out results am using an access db. When I type in text it does the search but with no proposed results display in the drop down. Is there something missing? [CODE] <cfsetting enablecfoutputonly="true"> <cfparam name="q" default="" /> <cfquery name="qryGetCountry" datasource="dbtest"> SELECT DISTINCT Cities.RegionCity FROM … | |
hi guys i am doing an applet that reads information from a website, stores it and uses it to graph the data and displays it in a very friendly way. it works perfectly fine in the viewer when i run it in eclipse but as soon as i try to … | |
Hello I've been researching this most of the day with no luck, hopefully someone here can provide some insight. I should preface this by saying that although I am an experience Developer this is my 1st time using Web. My issue, I am designing an Internal Product Maintenance application for … | |
I am very new to Dreamweaver and Horizontal Spry Drop down Menu Bar and I am having trouble getting them to work. The browser displays the background gif for the menu items but I cant get the text to display. And the hover/drop down menu doesn't work. I have no … | |
What is the best book to learn ,PHP,Javascript,DHTML, and AJAX? | |
I am fairly new in this world and I still have a lot to learn. I am making a dynamic page where I have to load 7 images for the database and I'm not even getting if anyone can help me. thanks <?php require_once('../Connections/ligacao.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function … | |
Alright, I have a members area, area.php, and I used mysql to find the userlevel and display content depending on the userlevel, 1 for user, 2 for admin. I made it, but it displays both the user and admin for 1, and 2. [CODE]<?php // Members Area // session_start(); $usernamee … | |
I want to learn a server side scripting language like php. But I don't know where to get started... Even getting started I could not understand where I should run a php file... I am good at html, css, and javascript... Can anyone say me how to get started with … | |
Im learning to build websites using HTML and CSS i already know that HTML creates a struture and CSS create the layout but what can JavaScript be used for? Also can ActionScript be used too as I already know quite alot of ActionScript. please help. | |
As I am adding google +1 button and such things, i am getting new stuff to add to my opening html tag. It is a real hassle having to go back and add the new links or piece of code inside the opening html tag. Can I feed the open … | |
Please help me. Can you guys tell me how to put a background color in C. | |
I can't seem to get my innerHTML to display my content. This works fine, if I was to put it all in one line. [CODE]document.getElementById('addedText').innerHTML = '<table><tr><td>'+"My text goes here"+'</tr></td></table>';[/CODE] If I was to break it up, which I wanted then nothing seem to show up. [CODE] document.getElementById('addedText').innerHTML = '<table><tr><td>'; … | |
Hi I have a web page that displays rows of records split into 6 columns. To make each line a bit more readable, I wanted to use CSS code to display a continuous border at the bottom of each row. Here is the CSS code: [CODE]#timetable-body td { font-family: 'Comic … | |
Ive been playing around with a couple of scripts both of which work well on their own. The first is a basic alertbox that uses a hotkey; [Code] <script> $(document).jkey('o', function(){ alert('Pressed o');}); </script> [/code] The second is a custom alert box which displays after clicking on a link. How … | |
I have a CSS menu, i made and it has a problem, I can't seem to find, sorry if i missed a thread on this, the menu has a my account li with sublist of links. These should only appear when the user is logged in. Then if they are … | |
Hi, Is there any possibility to use Coda in windows for PHP Developement ?!?!?!? I have seen CODA on a Friend's Macbook Pro and it is wonderful and have great features. Anyway to use it on Windows? Thanks | |
Ok, working on a blog engine. Small and somewhat unimpressive, basically following along with a tutorial. The tutorial basically has me write a little MySQL to query some test fields that we filled in manually. And here is what I get. (see attachments) The first one shows the read out … | |
Sometimes one line of tool tip is not enough. You may want to try and play around with JToolTip, but if you in hurry this "little hack" can be handy. With little of HTML plus CSS code you can work out various formats (font, colour, alignment, size etc.). |
The End.