20,316 Topics
I want to override the maxlength (chars) seetings below for my board, however [B]I dont have direct access to the templet[/B] . Is there a way to script it to increase maxlength? [code]<tr> <td colspan="2" class='pformstrip'>Topic Settings</td> </tr> <tr> <td class='pformleft'>Topic Title</td> <td class='pformright'><input type='text' size='40' maxlength='50' name='TopicTitle' value='' tabindex='1' …
I am making a website to show Londoners where the nearest toilet to them is. I am having problems getting the data into the google maps application. It was working yesterday and now it isn't. Im confused to say the least any help would be much appreciated. [code=php] var markers …
is there any methods to read the cookie created from web.config? As the web.config allows you to set the cookie name.. i tried to read the cookie in html by using JavaScript. It can't be read... when i keyed in the URL of the html file, it doesn't send me …
Is it possible to pass the javascript varible from one php page to another php page. what is the syntax we use.
Hi all, I would like to know how to assign and get the form value when I using it in a [COLOR="Red"]loop[/COLOR]. I cannot get all the input that I inserted in '[COLOR="red"]Desc[/COLOR]' part and it is from[URL="http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm"] [COLOR="red"]this site[/COLOR][/URL]. May I know to get this work when I do …
Hi. I have two sets of code below. The first is part of my old code off a page called item.cfm. the second is the same code, but i have attempted to change the destination link to a url i have stored in my database for the button btnaddtocart.gif. that …
Hi This is ScorpionZ I have Created a window that holds an Id of Particular Product having code this: <head> <script type="text/javascript"> function poponload() { testwindow= window.open ('image_viewer_window.php?images=<?=$prod_id?>', "Image","location=1,status=1,scrollbars=3,width=452,height=218"); testwindow.moveTo(215,350); } </head> <body> <td bgcolor="#F8F8FF"><a href="#" onclick="return poponload()">View Images</a></td> </body> // Talking about $prod_id it is an Id already in …
hi i have a html page when the user clicks a button in the parent window a popup window will be opened which will contain the login page.if the user is a valid user then i want the parent window to get refreshed so that i can show him the …
Hi, In my web application which is developed under JSP,JavaScript, the menu's works fine in Internet Explorer but the same sub menu's does not works/opens in firefox and others.For example i gota menu's as below, Admission ------- Student admission --------Faculty admission When i click on Admission link, the student and …
this my proj.. i need to do a program that will display the names in file.txt into jlist please help me with this... and i need a button for save,add new,cancel,and close.. after the names displayed in the list..when it clicked,,it must display its corresponding address,and contact number...thanks..hope youll help …
I am looking for a text link script that I can use to put my text links on some of my other websites that I own and also some that I rent text links on. I want to be able to make changes to my text links without having to …
Hi, i have my site looking like this : [code] html> <head> <title>Toller Titel</title> <link rel="stylesheet" type="text/css" href="layout.css"/> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <script language="JavaScript"> <!-- button1= new Image(); button1.src = "bilder/menue/menue1.jpg" button2= new Image(); button2.src = "bilder/menue/menue2.jpg" button3= new Image(); button3.src = "bilder/menue/menue3.jpg" //--> </script> <div id="menue"> <div style="text-align: …
Hello, I am having an issue with a page that works fine in IE and not FF. Bascially it is a <div> loaded with a basic coldfusion input form that posts back to parent of the div page. Problem I am having is a validation routine in javascript seems to …
I am a newbie to javascript and have written the following code to make sure that users have checked a radio button. It is set to work on submit. The form is generated by php and has approx 70 options; users may select one. I am not even sure if …
Hi All, how to pass server side (ASP.NEt 2.0 with C#.NET 2.0) array variable to another page's client script or How to access one server side web form's array variable in another web form's client script (javascript)? Thanks in advance. Raju
Hi just wonder if here are some that can help me with a boxover. Here is the code that i whant boxover in. [code]'Display the subject of the topic Response.Write(vbCrLf & " <a href=""forum_posts.asp?TID= " & lngTopicID & "&PN=" & intRecordPositionPageNum ) If intPriority = 3 Then Response.Write("&FID=" & intForumID …
I did all the process as specified in [TEX]http://wiki.script.aculo.us/scriptaculous/show/Ajax.In+Place+Collection+Editor[/TEX] But when i select a value from the combo .... it hangs at "saving..." there is no return .. . i did tried with just putting echoing the value with validity checking even thought there is no return i m using …
This tutorial will explain how to code a perfectly cross-browser compatible, single-level drop-down menu for your website. The first thing you are going to need is a little bit of JavaScript courtesy of Suckerfish. This should be placed in a file called menu.js and saved in the same directory as …
Hi guys, i have built a site and having a little problem with safari's browser...i wanted to create an other Stylesheet to ammend the bugs in safari but dont know the javascript code to apply it to my site when the user has safari to use this certain stylesheet.css file …
Im trying to rewrite a link with a href function. I need to parse a query string within it ('+tid') But all attempts Have falied. The current onclick/ link function <a href="javascript:who_posted();">Who Posted?</a> is attached to my forums 'replys' number colum in forum veiw' (i have no direct access) it …
i am using scriptaculous.js and prototype.js my ajax is returning following tags (text) [CODE]<p id="tobeedited4">one</p> (should manually select "two")[/CODE] and while calling the ajax it has [CODE] new Ajax.Updater('contact_div_edit',"./doit.php", {asynchronous:true, parameters:poststr,onComplete: showResponse, evalScripts:true}); onComplete: showResponse[/CODE] my showResponse function goes like this [CODE] function showResponse() { new Ajax.InPlaceCollectionEditor( 'tobeedited4', '_ajax_inplaceeditor_result.html', { …
Not sure what I'm doing wrong but this just won't work, I've tried a bunch of different methods but I just haven't been able to hit the nail on the head. The html page code looks like this: [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> …
Hi guys, hope you can help me........... i have developed a website based on the Mozilla Firefox browser, obviously it works fine on that browser...my entire website has been developed on one page, i use JavaScript to hide div tags and only shows their contents when they are selected, see …
I have a script (below) that consists of a form using javascript that shows an array in a table below it once a number is chosen. What i would like to know is can i turn the array into a form as well with the same data but include a …
Hi , I forget where to look on the W3School ,I have [url]www.servisracunara.co.nr[/url] site and as you can see my images on the left side do not work ,so i need to tell me where to look about these clicking on the image in Java Script , I hope that …
Hi everyone! I am rather stuck trying to create a very simple savings calculator on a website. All I need to have is a field for number of PC's, Printers, Servers and how much is spent per month on IT. When they click the "get Quote" button, I'm hoping to …
Greetings, When you initially load LogicWeb's home page, [url]www.logicweb.com[/url] it hesitates for about 1-2 seconds on loading the ajax tabs up top (you can't miss it, right below main navigation bar). I am trying to figure out why this happens, but I just cannot seem to grasp the cause. I …
Is there any way to count users in my chatroom and display whos chatting using javascript or ajax? code in php below has issues, but this is what it should do. <?php $chatnames = file('http://client11.addonchat.com/scwho.pl?id=292747&plain=1'); $indx = count($chatnames); $indxcom = $indx - 1; if ($indx == 0) { echo "<b>No …
hello, i am new to asp with javascript <%@language="javascript"%> i want to insert data into Access, but i fail to connect to database using javascript :( do i need to include some file?
Hi to all I'm looking for a substituted of the clip Property, I'm using following the code(take from [url]www.w3schools.com[/url]); [code] <html> <head> <style type="text/css"> img { position:absolute; clip:rect(0px 50px 200px 0px) } </style> </head> <body> <p>The clip property is here cutting an image:</p> <p><img border="0" src="bookasp20.gif" width="120" height="151"></p> </body> </html> …
I have a asp forum and now i whant to make some tooltip on this one. I whant to show was in the forum when i hit a link. Se the images and then you understand what i meen One more thing is if here are someone that can give …
What on earth is wrong with it? <? Header("content-type: application/x-javascript"); $chatnames = file('http://client11.addonchat.com/scwho.pl?id=292747&plain=1'); $indx = count($chatnames); $indxcom = $indx - 1; if ($indx == 0){ echo "document.write(\"No one is in the chat room at the moment"\)"; } else{ echo "document.write(\"<b>Members Chatting:</b>"\)"; for($i = 0; $i < $indx; $i++) { $name …
I am fixing an e-mailing system using php and mysql and have hit a stumbling block. i have recently had to take on someone elses work and have fixed most of the problems they had created. I need to upload images and then display them on the newsletters that will …
I have a need to force all items in a listbox to become selected before I force a submit. I need something to select everything in a listbox called SpacesServed: $("#form1").submit( function() { . . . code goes here . . . } ); Any ideas?
hello i am trying to get uploaded to a server using a hidden iframe so the page does not reload. i have a upload.php page which resizes the file and remanes the file. What i thiink should happen is that the php file should be in the iframe and the …
Can we capture the events like click of ASP.NET2.0 controls like link button at client side. For example, there is a link button which performs some operations say download,when the checkbox of the GridView are checked. But what if when the checkboxes are not checked and the link button is …
pls help me to set the width of a combo in IE.....is there any way to fixe the width in IE.... In mozilla ,i fixed it using style="width:100px"; thankzzzzzzz
I'm hoping one of you javascript guru's can help me because i'm new at javascript!!! I need to return the score from my function and have it emailed with the test results. How do i do it? here is the code: (i know it's mickey mouse but it took me …
I'm trying to correct some W3C validation errors found at [url]www.logicweb.com[/url] I'm not a designer by trade, but I learn quickly and would appreciate help on this. The code used for the view packages button is below, and the one that caused W3C errors [code] <div id="view_packages"> <h4><a class="view_packages_button" href="/services/hosting.php" …
hi all i want to get a calendar in following format.. [Button to change month]{Month}{year}[Button to change year] -- [List of dates horizontally] How it can be done using either Javascript,HTML or Ajax
function SplitText(text,count) { if(text.length > count) { var _temps = text.substring(0,count); return _temps + "..."; } else { return text; } } Example : var s = SplitText("serkansendur",5); s will be "serka".
[CODE]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT"> <!-- function view(ss) { if(ss.options[ss.selectedIndex].value!="none") { window.location="http://jesus.freehyperspace2.com/desc.php"; } } --> </script> </head> <body> <form method="get" target="frameright" action="http://jesus.freehyperspace2.com/desc.php"> <?php $hostname="localhost"; $username="jesus_jesus"; $password="jesus"; $dbid="jesus_jesus"; $link=mysql_connect($hostname,$username,$password); mysql_select_db($dbid) or die("unable to connect"); $result=mysql_query("select * from career"); if($result) { print "<select name='IndustryType' language='javascript' onChange='view(this);' size='15' tyle='width:250px'>"; print "<option value='none' selected>Choose Industry …
how to show error message whenever the person enters wrong or empty text fields in th login form itself rather than linking to other error page? error message should be displayed just above the login text fields... please pass me the codes so that i can understand. thank you
Ok, so I feel that im pretty good at using iweb now...but I have a huge problem. iWeb is just too basic. Id like to have some drop down menus, and some nicer looking sites, compared to the basic stuff you can do with iWeb. Is there a way i …
Hi all! I need to know how to [B]repeat a javascript code snippet[/B], until the [B]table's row is full[/B] - so [B]without stretching[/B] it. The row is inside the middle column of an 80% width table, made up of 3 columns, one for a left side graphic, the middle column …
I have searched for a tab menu script for a long time but none of them was flexible enough,then i created one for me. The algorithm is nice so the script is not too long although being flexible. your tab menu is in an html table row as follows : …
Menu is about three things : 1) Position 2) Show-hide 3) Content the Positining function is this : function elementPosition(obj) { var curleft = 0, curtop = 0; if (obj.offsetParent) { curleft = obj.offsetLeft; curtop = obj.offsetTop; while (obj = obj.offsetParent) { curleft += obj.offsetLeft; curtop += obj.offsetTop; } } …
Greetings all, I have multiple list options linked, like Country, city, town, when e.g france is selected it gives all the cities in france in the following option list. and when say paris is selected it gives you all the towns in paris and third category. I have found an …
When you assign a source to an image via javascript, it will take sometime to load the image. To get around this problem you can preload the images creating virtual images via javascript as follows : if(document.images) { // create a virtual image var img1 = new Image(); // preload …
The End.