Help With SSI, Or Directions To Proper Group
Jul 23, 2005
I'm sure this is probably the wrong place to ask, but is there a way to execute an SSI script in javascript?
I'm using an SSI script to read a memory address, and I'd like to be able to update the value every few seconds without having to refresh the entire page. Does anyone know a possible way to do this, or am I stuck with refreshing the entire page every 4 seconds?
View 4 Replies
ADVERTISEMENT
Jun 9, 2010
I'm a relative novice at java script. I've been working on a google map that can be found at: [URL](way too much code to post here). Each of the makers on the map has s particular set of information that pops up in a window when it is clicked, including a hyperlink called "join this group." Right now clicking on that link merely takes the user to the form at the bottom of the page.
What I would like the link to do is to both take the user to form at the bottom of the page and automatically select from the drop down menu the group associated with that particular "join this group" link. For example, if a user selected the marker representing the Neighborhood, Beverly group and then hit the join this group link, the drop down menu would automatically select the Neighborhood, Beverly (Pless) for them. I suspect this involves using java script to pass a value. I just have had no luck getting it to work.
View 5 Replies
View Related
Jul 29, 2009
I have a radio group that, when a certain option is selected, it makes the radio group disappear and a textbox appear. It works great in Firefox, but it appears to be glitchy in IE.
<script type="text/javascript">
function showRestaurantTextBox()
{
[code].....
View 1 Replies
View Related
Feb 14, 2011
I've had this idea lately that I have a button that when I hover it, drop down menus come out from the left, the right, and below the button. Would this be doable in any way?
View 3 Replies
View Related
Feb 24, 2011
I am using the Google Maps API to integrate mapping into a web application. I am using HTML and JavaScript. I am having difficaulty integrating the directions function. I have a form which collects the users address/current location which is supposed to display a set of turn by turn direction and a route on the map when the users submits. I currently have a custom image icon which works perfectly. I cannot figure out why this does not work as i dont not receive any error codes which is very furstrating. Here is my HTML form
<form id="address_form" onsubmit="displayDirections(); return false" action="#" >
<p>
<label for="street">Street Address</label>
<input id="street" name="street_address" type="text" tabindex="1" />
</p>
<p>
<label for="city">City</label>
<input id="city" name="city" type="text" tabindex="2" />
[Code]...
View 1 Replies
View Related
Dec 3, 2009
I am making a single page website for a client and we are trying to make a 4 step animation on click of an image. When clicking the image I would like to slide out div1 up, slide out div2 right, slide out div3 down, and have div4 slide in.
View 2 Replies
View Related
Sep 22, 2010
I am trying to load multiple google maps with advanced directions on one page. I can't seem to get it to work. Any way to run the same multiple times on one page? Here is the code below. The first map and set of directions works, but not the second.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "[URL]">
<html xmlns="[URL]" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Google Maps JavaScript API Example: Advanced Directions</title>
<script src=" [URL] "
type="text/javascript"></script>
<style type="text/css">
body {
font-family: Verdana, Arial, sans serif;
font-size: 11px;
margin: 2px;
} table.directions th {
background-color:#EEEEEE;
} img {
color: #000000;
} .....
View 1 Replies
View Related
Sep 22, 2010
I am trying to create multiple google maps with multiple directions that load on one page. I have tried duplicating the var and function names but I haven't been able to get it to work.code...
View 1 Replies
View Related
Nov 23, 2005
if i want to have a empty link, which way is more proper?
<a href="">
<a href="#">
<a href="javascript:void(0);">
View 14 Replies
View Related
Oct 19, 2009
I am using jQuery.get to make an AJAX request to the server which should return a JSON object, but it is interpretated by jQuery as a string, not an object.[code]I do not use getJSON because I want to make one request which could return in a JSON object, or just a string, depending on some conditions.
View 2 Replies
View Related
Aug 10, 2011
Very new using jQuery. Anyway, I have the following few lines which create a component on a web page.[code]...
Upon some analysis, I can see that the css does contain the styles used by my div. So now, I would like to change the colors of the component, but I am not sure what is the best practice. Can one override in the div tag the colors, or should one duplicate the .css and change it?
Seeking the best way to perform this that other in the group use.
View 2 Replies
View Related
Nov 19, 2010
This is my first jQuery code so I am noob at that case. I have created page with 4 tabs based on that tutorial:Each tab has form to fill out and submit. Starting on first tab, then if passed validation goes to next, etc. But when will not pass a validation I want to keep open that tab where the error occurred. My PHP code for the second tab looks like:
if(count($errors) > 0)
{
echo '<script type="text/javascript">
[code]....
View 1 Replies
View Related
May 13, 2011
I have some code that attempts to save a user's preference settings. It first tries to use "localStorage", and if that fails (only old versions of MSIE), then a cookie is used instead.For example, if I intentionally misspell "localStorage" by instead using "localStor" (simulating a browser that doesn't understand the object name), the code simply does not run.unfortunately, that doesn't work.
View 2 Replies
View Related
Nov 6, 2011
So firstly this is likely not in the right place at all, as it's a bit OT but I figured it's the best place to ask. I have to document 4 different tests to my code; what structure should I take when doing this?
I was thinking:
* State the aim of the test
* State the inputs, and what I believe the output should be.
* State the actual output, and whether this positively or negatively affect my code.
View 1 Replies
View Related
Sep 9, 2009
So I have the following form field:
Code HTML4Strict:
<input type="text" size="9" style="width: auto">
I do this, because in CSS I set all my input fields to 'width:200px;' (looks better), but also require some fields to be shorter (which I do by setting 'width:auto' and attribute size="x"). The problem with this is that I need to get the precise width of all inputs with jQuery!
But if I do the following:
Code JavaScript:
alert( $( "input" ).css( 'width' ) );
It outputs: 'auto'
How do I make it return the element's actual width?
View 1 Replies
View Related
Dec 4, 2011
I m trying to put a button's value (e.g. a button putting a special character in a form ) in the "selected" form input that the curson is in it and typing characters.. The concept is the following . A form is created and has some input text fields and the user can write the appropiate data in these input fields. Also some buttons are created each one representing a special character and the user can click them in order to put the special character that the button has in the text field he is writing. I'm wondering how after a buttons is click it's value to appear only in the text field that someone's writing.
View 3 Replies
View Related
Jun 1, 2009
How does one assign the return value of a jQuery method/plug-in to a reference variable?
An IT idiot with apparent zero ability to communicate among Geeks who systematically eschew reading but readily recommend the writing of others.
View 2 Replies
View Related
Dec 16, 2010
I have to create a table using javascript. Firefox displays the expected result but for IE, the column width is screwed >"< I have to use the col tag to set width because sometimes the first row maybe merged. All I need is to create a table that strictly displays according to the inputted column widths from my program. In below I have setup very short example that construct table in a similar way to my original javascript function. I also draw a ruler to help showing the proper width of 400px on the screen. column 1 should be 100px width and column 2 should be 300px.
<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<body onload="init()">
Hard Coded:
<DIV style="WIDTH: 400px; HEIGHT: 25px;overflow:hidden;">
[Code]....
View 1 Replies
View Related
Apr 2, 2009
Here is my code:
PHP Code:
<div id="map" style="width: 365px; height: 300px; margin: 10px; padding: 10px;"></div>
<script type="text/javascript">
//<![CDATA[
[Code]...
When you click on "Get Directions" in the browser window, it opens up a new window and loads up google maps, which is perfect...BUT...The destination address is listed as coordinates.
I have seen this before, where the destination address is an address and then it says @"coordinates".
How can I get this accomplished?
View 1 Replies
View Related
Jun 19, 2009
I'm trying to create a list, to which you can:
1. Add and remove items.
2. According to what's in this list, there should be dynamic content loaded on to the page.
I've accomplished 1 with the code below. I'm not sure about how to accomplish 2.
<script language="javascript">
var listItems = new Array();
var currentList = new String();
function listManager(task, id, name) {
//$("#debug").append(" ##### List manager. ("+listItems.length+"
items) #####
");
if(task == "add") {
refreshList(); // refresh the list .....
View 2 Replies
View Related
Sep 4, 2009
Now that we're switching to feature detection rather than browser detection, how does/should one detect for a webkit browser?Is there a known feature that we can check for that would Identify Safari and Chrome?We're running into some (rather minor) layout issues with some jquery plug-in rendered content in Chrome and Safari and it'd be really easy to just do a 'if a webkit browser, tweak this' type of logic.
View 4 Replies
View Related
Sep 11, 2011
The webpage doesn't display the proper times when I load it up.The GMT variable deals with the Greenwich timezone, which that time is used with offset variables in order to get the right times from each respective time zone in the branch offices.So far it seems only houston and new york display the right times or close to it all the other ones are way off.
View 1 Replies
View Related
Apr 23, 2010
I'm using Walter Zorn's Drag & Drop script on my page: [URL]. The script works just fine. But there is a problem when the visitors are trying to print out their design. All "draggble" elements are getting shifted in relation to the rest of the page (try to move "draggble" elements, and then go to Print Preview to see what happens). The page layout is centered on the screen:
#maincontainer{margin: 0 auto; /*Center container on page*/}
Drag & Drop script recalculates positions of elements from the Top Left corner. If I change margin to left, than everything prints out just fine, without shifting. I'd like to keep my page layout centered on the screen and I know nothing about Java programming. How to make necessary changes to the Drag & Drop script to achieve proper page printing?
Drag & Drop script path: [URL]
CCS path: [URL]
View 2 Replies
View Related
Jun 6, 2009
I need to resize an image on dragging handlers which are placed in all 8 directions. If any of handlers is dragged inwards, then entire image size should be reduced and if dragged outward, the image size should be increased. In any case, image quality should be preserved.
View 1 Replies
View Related
Jan 10, 2011
I'm trying to force jQuery UI Tabs to work with browser locations (as in direct-linking or bookmarking), but having very little luck doing so. It feels like I've seen this question at least 50 times around the net, and the answer mostly consists of one of the following 5:
[Code]...
Hierarchically based tabs (hopefully something better than "level1-level2-level3") As I said, I know it has been asked before, but apparently I am now the only one struggling with this. So if anyone could give some suggestion on how to use jQuery Address, jQuery BBQ or any other method to accomplish this,
View 1 Replies
View Related
Nov 25, 2008
What is happening is when I try to submit the form, I receive an error that says I need to input all data in the proper format.
<html><head>
<title>Conference Registration Form</title>
<link href="conf.css" rel="stylesheet" type="text/css" />
<script type = "text/javascript">
Calculate total registration fee
Retrieve the value of the selected index property from guests selection lists
Multiply the selected index by 30 and add this to the cost variable
If the first member radio button is checked subtract 25 from the value of the cost variable
Set the value of the total field equal to the value of the cost variable
function calcCost() {
cost = 145 + (guests_quantity * 30);
guests = document.reg.guests;
gindex = guests.selectedIndex;
guests_quantity = guests.options[gindex].value;
if (document.reg.member[0].checked == true) {
cost = cost - 25;
} document.reg.total.value = cost; .....
View 1 Replies
View Related