10,452 Topics

Member Avatar for
Member Avatar for doc15

Hello all, Recently, I began learning JS to start creating websites. So far I have a working idea of what the DOM is & how to access elements within a document. I've also heard how jQuery & jQuery UI can increase functionality/productivity/interactivity & just about any other "ity" word you …

Member Avatar for Airshow
0
212
Member Avatar for tallygal

I'm trying to write a function that that returns an table from an array. But, for some reason, it is only displaying the first row or the array instead of all. <html> <link rel="stylesheet" type="text/css" href="week13.css" /> </head> <body> <h2>table</h2> <br> <br> <?php $table = array("440" => "cubic inch engine","truck …

Member Avatar for tallygal
0
2K
Member Avatar for theonlylos

On my clients website located at cjcdigital.net/clients/andrea I am having an issue with the CSS code where I managed to make the top navigation and sidebar (the social media buttons) work near perfectly with CSS - the top nav uses absolute positioning while the side nav first used absolute and …

Member Avatar for theonlylos
0
240
Member Avatar for singularity~

I have a jQuery slideshow that works perfectly outside of a modal window. Once the slideshow is loaded inside of the modal window it stops working. I am stuck and have no idea what to do.

Member Avatar for Troy III
0
143
Member Avatar for evilguyme

hey guys i have a file called index1.html on my server and when i open it, it shows [url]www.myURL.com/index1.html[/url] how can i make it so that it only shows myURL.com/ when index1.html is open? i tried looking but i only found rewrite for index.html and im not a pro at …

Member Avatar for JorgeM
0
78
Member Avatar for baz007

Hello everyone, i have got a question regarding radio button when i send the form with the submit button i want it to display the First name Last Name and also a text in the if statement. I think the submit function only works for the first last and email …

Member Avatar for emclondon
0
171
Member Avatar for jacob21

Hi, I am working on video player module. I am trying to add dynamic video links & description.Its working fine. the problem is when i am playing a video,video list become readonly. Need suggestion <!doctype html> <html> <head> <title>Video Player Application</title> <link rel="shortcut icon" href="/media/favicon.png"> <!-- standalone page styling. can …

Member Avatar for veedeoo
0
230
Member Avatar for Caveman280

Hey, Im stuck because i am using multiple versions of Javascript, so only the coverflow is working. Please can someone help? Heres my code [CODE]<!DOCTYPE html> <html> <head> <title>Sir Harry Smith's School Report</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="style2.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="includes/scripts/jquery-1.2.62.min.js"></script> <script type="text/javascript" src="includes/scripts/jquery-ui-personalized-1.5.22.packed.js"></script> <script type="text/javascript" src="includes/scripts/sprinkle.js"></script> …

Member Avatar for Caveman280
0
230
Member Avatar for vizz

I have created chatbox using jquery. It generates one chatbox per user. But it goes till users available. I want to show only 4 box on page. If 4 chatbox are visible and clicked on 5th user hide first chatbox from right side and add chatbox for that clicked user …

0
88
Member Avatar for imti321

I HAVE MS ACCESS DATABASE OF 'STUDENTS' containing Their roll no's, names, min marks and max marks. As like schools publish results on their webistes, there is a text box in which roll no. is entered and the command button for searching the whole record of roll no. entered in …

Member Avatar for pritaeas
0
159
Member Avatar for Violet_82

Hi there, got a quick question about id selectors, something that is bugging me tonite, maybe I am a bit tired sorry. It isprobably obvious but lately I am having strange memory laspses.... given this html fragment: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; …

Member Avatar for Violet_82
0
144
Member Avatar for imti321
Member Avatar for imti321
0
116
Member Avatar for P.manidas

Dear Sir/Madam, I have written some CSS codes for designing web pages. The codes have produced well design in FireFox browser, but not in InternetExplorer and GoogleChrome as I have tested. It may not be worked in other browser also. But my question is that, how can I produced well …

Member Avatar for P.manidas
0
421
Member Avatar for antonioazevedo

Hi, I have this nice function to truncate a string with HTML. It's very good only now I ran into a problem. There are cases where for example The input will be this: `<a href="some url">this is a link</a>` and what I want to output is exactly the same, even …

Member Avatar for diafol
0
2K
Member Avatar for mtho

Hi Guys Im kind of new to this and i hope you will be able to understand my question. I have a little dynamic news website. I have a form (called add_post.php)i use to insert my articles (blog_enrty). Unfortunately i get an error saying "you do not have permission to …

Member Avatar for pritaeas
0
94
Member Avatar for sallecpt

HI there Could someone PLEASE help me; I have a drop-down menu on my site and when I hover, the drop-down goes behind the content. This is the address : [URL="http://www.beds24.co.za"]www.beds24.co.za[/URL] I dont know how to fix this, I've tried so many different settings. This is my CSS file. The …

Member Avatar for prasad.learner
0
713
Member Avatar for VenusCrystal

Hi, I have a icon which on mouseover action i'm changing to another icon little bigger and with a tooltip. This icon is placed inside a table row before the text data. When mouseover happens it moves the text data to right and new icon is displayed. I dont want …

Member Avatar for VenusCrystal
0
140
Member Avatar for loserspearl

I can't see where the error in my CSS document is, it says location is -1, -1 which isn't inside the document, tried different ways of defining the column and "up" and "down" images and neither seem to work. [Xerces-J 2.9.1] Checking "nasdaq.css" for Well-formedness ... Ln -1 Col -1 …

Member Avatar for pritaeas
0
124
Member Avatar for lfmconsummates

I'm trying to have HTML generate random background colors using Python. What I have so far is: `print "<body bgcolor='%s'>" % choice` what python code should follow?

Member Avatar for prerakmody
0
395
Member Avatar for sidd.

Hi, I have attached a .html document and a text file, which is used as a input. This is a very basic website and its working fine in mozilla and chrome but not working on IE. Whenever a refresh button is clicked it loads data in debug area and Generate …

Member Avatar for kabugima2
0
196
Member Avatar for PF2G

Hi, DaniWeb I'm creating a website based in this one: [Link Anchor Text](http://www.spirit-of-metal.com) As you see the News and the Reviews have an awesome box in the back :P I'm trying to do something similar. But i'm having some trouble, mostly the stripe on the title. Can someone help me, …

Member Avatar for bhartman21
0
77
Member Avatar for xuweisen

hi, I have a problem with my javascript function.. this the code <?php include("include/connection.php"); if(isset($_GET['id'])){ if(isset($_COOKIE["users_resolution"])){ $resWidth = $_COOKIE["users_resolution"]-17; }else{ echo "<script language='javascript'>"; echo "writeCookie();"; echo "function writeCookie()"; echo "{"; echo "var today = new Date();"; echo "var the_date = new Date('December 31, 2023');"; echo "var the_cookie_date = the_date.toGMTString();"; echo …

Member Avatar for stbuchok
0
198
Member Avatar for dougalmaguire

I have an iframe that opens within another page. On the iframe there is a button that when clicked opens a region with a number of fields for the user to input. What is meant to happen is that the region opens and the whole resizes so that the data …

0
93
Member Avatar for mtho

Hi Guys Im kind of new to this and i hope i will explain myself enough for you to understand my question. I have a little dynamic blog. I have a form (called add_post.php)i use to insert my articles (blog_enrty). Unfortunately i get an error saying "you do not have …

Member Avatar for antonioazevedo
0
130
Member Avatar for ratazoit

#I need a php script that fetches a registered users info from the Mysql database and prints them on the page when a user visits his/hers profile page via a link showing his name, like facebook # * Heres the code that id like to show as the profile pag …

Member Avatar for Dani
0
713
Member Avatar for a_salted_peanut

Hi all If anyone can provide some light on this one it would be very much appreciated! I have spent a few hours on this one trying to figure out why, when i try and submit a form via HTML to a PHP script it seems to fail and not …

Member Avatar for a_salted_peanut
0
165
Member Avatar for jonow

I am trying to make a table scroll once it reaches the width of its parent element. In addition to this I want to make it so the `<caption>` does not scroll with the table (it stays fixed) and also the first column stays fixed. Does anyone know how to …

Member Avatar for dany12
0
122
Member Avatar for vizz

<!DOCTYPE html> <html> <head> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ var ele = $('#scroll'); var speed = 25, scroll = 5, scrolling; $('#scroll-up').mouseenter(function() { // Scroll the element up scrolling = window.setInterval(function() { ele.scrollTop( ele.scrollTop() - scroll ); }, speed); }); $('#scroll-down').mouseenter(function() { // Scroll the element down scrolling = …

Member Avatar for dany12
0
153
Member Avatar for KOTS202

Hi all, I am new to web development. So please be easy on me and try and explain somethings in detail. I am building a edit page for something else I am building. It is all PHP driven with a MySQL database. Well anyway my boss want a inline on …

0
57
Member Avatar for samidha

I am a new user in PHP and currently developing a blogging web-site using PHP. I have designed a simple design of Create Blog page using HTML syntaxs, created database fields in MySQL as 1) Blog-Id 2) User-Id 3) Blog-title 4) Blog-text. Now if I am supposed to give interface …

Member Avatar for pritaeas
0
221
Member Avatar for HemZone

Hi, I'm getting this error Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\Adult\index.php on line 155 Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in C:\wamp\www\Adult\index.php on line 261 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\Adult\index.php on line 301 …

Member Avatar for pritaeas
0
487
Member Avatar for dlannetts

Hello, i have never been really succesful at positioning items on a page with css, it's taken me a long time but i finally worked it out, buit for some reason with the code i am now using my border will not locate properly, i have attached an image, you …

Member Avatar for jwmollman
0
196
Member Avatar for jdgieschen

Alright everybody! Here's a whopper for you. I've looked over this for the longest time and just can't figure it out. I want to update my database with the user's information when they save the html form. I'm guessing there's like a quotation mark or comma misplaced or something, and …

Member Avatar for joshmac
0
306
Member Avatar for ajcoder

I have created the following code. I want people to drag the objects that are recycleable in the bin and a message to pop up that says "yes, you can recycle this". The others would have a remark that says something like "no, you cannot recycle this". At the end. …

0
89
Member Avatar for mrjimoy_05

Hi, how can I change the HTML code via VB .Net code? For example, on .aspx file I have: <div class="Menu_On"><asp:LinkButton ID="Link_Menu1" runat="server">Menu 1</asp:LinkButton></div> <div class="Menu_Off"><asp:LinkButton ID="Link_Menu2" runat="server">Menu 2</asp:LinkButton></div> <div class="Menu_Off"><asp:LinkButton ID="Link_Menu3" runat="server">Menu 3</asp:LinkButton></div> Then, when I click the "**Menu 2**" link, the class which coping the link should change …

Member Avatar for hericles
0
362
Member Avatar for otengkwaku

Hi Guys well in my course to design websites that are as graphical as posiblem. i normaly prefere designing the graphical element with photoshop and then sending them over to the web page. Ontill i met CSS, i relised that day in and they out new standareds were evolving to …

Member Avatar for drjohn
0
230
Member Avatar for dany12

I need to use a handler that will get from my select option in html a value but not the valeu orm the option I will show my code now ...<form action="" method="POST" class="submit"> <label for="select"> Print copy</label> <select class="select" name="select"> <option>1 copy</option> <option selected="selected">2 copies</option> <option>3 copies</option> <option>4 copies</option> …

0
68
Member Avatar for dany12

I can’t make the assets work with the code provided by the contributors the only way i can get my css is with a method discovered by someone else on this ciforum `<?php $this->load->helper('html'); $this->load->helper('asset'); echo link_tag(css_asset_url('default.css'));?>` and now I need a similar method or a solution to include my …

Member Avatar for baig772
0
94
Member Avatar for willpollock

I am having an issue with an external javascript. I've included the code from the web page and the javascript code I have. Instead of opening a website when the selection changes in any of the menus, I get a pop-up message box with the address of the web page. …

Member Avatar for Troy III
0
310
Member Avatar for Dani

Soooo ... quick question :) I need to do some HTML parsing with regex :) I currently use `$output = preg_replace('/>\s+</', "> <", $output)` to strip whitespace between any two HTML tags. What can I do to strip whitespace only between paragraph tags. For example, only between `</p>` and `<p>` …

Member Avatar for Dani
0
418
Member Avatar for kimmi_baby

Hi, I really need help with this. I've tried multiple things and can't get it to work and I've posted on a few forums and no one is replying... So my issue is I'm using a custom menu on a wordpress site as my main navigation. The problem is that …

0
95
Member Avatar for Violet_82

HI there, I was wondering if anybody can advise. I am trying to build an unordered list with a few items in a page, and I want this list to be created and displyaed dynamically. So I create an array of strings and then through jquery I want this to …

Member Avatar for Violet_82
0
2K
Member Avatar for clarme

Hi All, the other day I somehow messed up my companies website and I am not quite sure what I did. all the logos at the bottom of the page used to be centered, but now I can not get them back. I am pretty sure this a footer.php file …

Member Avatar for Biiim
0
179
Member Avatar for saucy6969

Hi there I am trying to center my website template to the middle of the page...currently at the left. Cant find which part of the CSS files it goes with...can anyone help? http://home.comcast.net/~waynetorrance/roomies/index.html

Member Avatar for JorgeM
0
178
Member Avatar for baig772

i have following .htaccess RewriteEngine On DirectoryIndex index.php RewriteRule ^([a-zA-Z0-9_-]{3,20})/([^/]+)/([^/]+)?$ index\.php?page=$1&s=$2&o=$3 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})/([^/]+)?$ index\.php?page=$1&s=$2 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})/?$ index\.php?page=$1 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})?$ index\.php?page=$1 [L] ErrorDocument 404 /404 it displays mu url as localhost/mysite/home for first perimeter and its going fine but when my url is localhost/mysite/home/user, whole look of page …

Member Avatar for pritaeas
0
108
Member Avatar for arihantphp

Hey all ! I am wondering if there is any way by which we can take an input from a user using a html form and write it to a file inside a specific div tag in a specific file. for ex: I enter a Name in a form the …

Member Avatar for broj1
0
220
Member Avatar for theNORTH

Hi, I want to replace `$data['introhtml']` with some actual html, any ideas? I need to update a friends CMS database driven Website the content panel does not allow Div which I need to put a Calendar in so the only option is to change the PHP. The PHP code is …

Member Avatar for theNORTH
0
166
Member Avatar for klemme

I have this function, which sends an email to the user and confirms an order. I cant figure out why I cant get to display the image IN the email, at the very top. I have tried with: `"Content-Disposition: attachment; filename=\"mail-top-img.gif\""` And `"Content-Disposition: inline; filename=\"mail-top-img.gif\""` Both sends the mail as …

Member Avatar for klemme
0
196
Member Avatar for RazorRamon

I'm centering my container div this way. #container{ position: absolute; left: 50%; margin:0 auto; height:100%; width:1024px; margin-left: -512px; text-align:left; } The div centers in the window, however when the user resizes the window to smaller than 1024 the window starts showing the center of the page. How can i make …

Member Avatar for almostbob
0
241

The End.