Unable To Steal Bars Of Gold By Loading Them Into Mini Coopers And Driving Away.<p>?
Dec 4, 2011I am still trying to figure this one out. Would you look at this code and tell me where I am wrong?
Code:
<html>
<head>
[code]...
I am still trying to figure this one out. Would you look at this code and tell me where I am wrong?
Code:
<html>
<head>
[code]...
It's the Coda Slider script on here: [url]
If you scroll to the bottom, and click: "See what our users have to say" and you can see the sliders.
It's working in all browsers but Safari, the script just doesn't seem to be loading, I get the loading scroller bars but they don't fully load. What is the best way to debug JS - is that the right term?
How can I fixed the size of the page to desired width and length and also make that page fixed to that size so that it cannot resized.
And also I want to disable all bars(scrollbars, menubars, address bars etc) for the page.
I am using these codes for my projects and these are for commercial purpose. I am also asking for to use these codes for my projects.
I am loading an entire page in ajax, but I just want to load a fragment from it. Using the .load() function, you can do this by adding a selector after your url like 'getPage.php #myDiv' etc, how to do it using the .ajax method.
I did some googling and found this solution:
$.ajax({
url: 'AjaxTest2.htm',
data: {},
cache: false,
[Code].....
I'm trying to get the "d1" div to be populated with the contents of the "my2" div on the second page. I don't want to use the .load() function, I want to use the .ajax() function. I can get this to work if I just use: $('#d1').html(data); instead of $('#d1').html($(data).find('#my2')); but the former results in the entire html contents of the second page being placed into the "d1" div, and I only want the fragement.
I'm trying to figure out how to display the live price of gold on a site. I've been googling for 2 hours and have gotten nowhere, most results are people trying to sell you something. I just want a simple display of the price of gold on a site, and don't know where to start.
View 1 Replies View RelatedI have this very easy task to accomplish: block clicks on a whole page after
posting to the server to prevent impatient users from clicking many times
and causing problems to the serverside-code.
I actually could do it in IE using this technique:
....
function DisableIEControls() {
try {
document.body.style.cursor = "wait";
document.attachEvent("onclick", function(){return false;});
} catch (e) {}
}
window.attachEvent('onbeforeunload',function(){Dis ableIEControls()});
....
This works fine in IE, now can someone help me writing the same for
non-Microsoft browsers...
I tried almost all but to no avail... clicks are always "sent" to server
side...
I've used Brian Crays driving distance calculator on a site, however the calculations are not accurate for full addresses. I realise the v2 google maps api is now depreciated, my question is, if I upgrade to v3, is there more accurate calculations of distance and if so, does anyone have an example of calculating the distance between two points with the new api?
or does anyone know how to get more accurate results with his code?
We have a paypal shopping cart which we have already integrated into our website. Now we need to fetch data of gold price from UOB directly to our website but we need assistance on the code which can perform such task. [URL]We need the gold price value to be updated into our website.
View 2 Replies View RelatedI have just joined this forum hoping for some help on a problem i am having, i have a feeling the solution is simple but im a noob at JAVA so i have no idea how to work it out.
[URL]
When you select US (West Coast) as your location it doesn't update the price on the right properly. If you select it first it just won't display anything. if you select it after choosing another one and hitting continue then it doesn't change.
I'm building the "Contact Us" section of my .mobi site (xhtml and
html).Is there any way to create an e-mail form that use the mini-browser
built-in mailer? (Perhaps a javascript code to add ?)
i need to place some contents in movable windows in page.if available can i use this coding in my page?
View 1 Replies View RelatedI'm trying to make something a lot like a store locator where a user types in their address of origin and submits, then the script compares the driving distances between their entered address and the 4 destination locations that I will store in an array once the page loads.It's kind of hard to describe. I have a form working to do the distance and driving directions once I know which destination will be chosen.That seems to be working just fine. The problem is that I just can't get anything working that will compare the distance between the origin and each of the options before choosing and displaying directions to the nearest destination. My ultimate goal is to update the list of <options> with PHP and maybe MySQL - though I really don't need this to be large-scale. Then, after the user inputs a starting address if they choose a specific location from the dropdown it will give those directions, otherwise (if the "choose closest location" option is still active) then I will run a comparison of driving distances for each option's address value and store them to an array. Once all locations are read and tested for driving distance I want to take the closest location set that option as selected, and then run the call for driving directions as usual.
I know how to pull the option values, how to set and unset the "selected" attribute, and how to check to see if distances need to be compared. I can figure out how to do just about everything I need EXCEPT for getting the google maps API to play along. I've tried so many dead-end ideas that I have just reset my map code to square one. Any ideas for a script piece to run that will return only the driving distance for a list of locations?I'm going cross-eyed trying to get this working. Does anyone have any ideas for a code blurb to tie this all together? I think everything else should work once I get through the distance iterations but I'm useless with the google maps API...
Is there any way to lock down the menu bars? I currently have a form that was created in Adobe Professional. I have hidden the menu bars on initial view of this form, in an effort to force the sales associates to use buttons that I created that will show them all fields that are required. This worked for a while, but now the sales associates have found out how to unhide the menu bars and are again submitting incomplete forms. I would like to have something in place, that if they do unhide the menu bars, there are certain commands that they cannot use (i.e. Attach to E-mail). Is there any way to put script on this form that will gray out certain commands on the menu bars?
View 1 Replies View RelatedI having a wrapper DIV (certain width say 400px) and i have some child DIVS which i want to add to it. And i want it to have a maximum height of 600px say.
I DONT want the wrapper DIV to have vertical scroll bars so i would like to add as many child DIVS (which contain text of indiscriminant length) until i can somehow detect that the wrapper has overflowed (ie the scrollbars have been implemented !) if it has then remove the last one and dynmically create a new DIV, and continue the cyclw until exhausted of child DIVS. Code:
I am looking for a Javascript Datagrid that will populate based on database driven data, but also allows the data in the list to scroll sepereately from the Header. This is so I can allow users to sort data without making another database call on each sort.
For instance, I have used this Javascript and it looks and works great, except the header scrolls with the data....
[url]
That works great with dynamic database data....but the header dissapears when using a scroll bar.
I am looking for something that works like this, but is not ajax and does not query the database with each sort. [url]
See how the data scrolls, but the header stays put? The pagination onthat example is not needed and in fact I would rather it didn't have that capability.
I want that functionality, but with Javascript.
I can move and resize the current window.
I need a window that opens up with no Toolbars. I know how to achieve
this from another window via a link. But is there a method to reload
the current window with no tool bars.
is there any way to disable or lock vertical scroll bars on a browser
window? im a newbie and i just don't want them to appear on my screen.
sometimes they appear on IE but not on mozilla.
I have created this chatroom using php and scriptaculous but I am stuck with a tiny issue which I believe is only solvable using Javascript.
I have attached 2 screen shots. 1.jpg is what I get at the moment and 2.jpg is what I want to get.
As you see when somebody sends message and the messages exceed pages size, the scroll bars appear, I need the scroll bar to be the oposite direction (down to top) like yahoo or msn or any other chat room.
I'm having problems setting variables from selector bars. I've currently been trying different forms of document.getElementById() but to no avail.
View 4 Replies View RelatedI don't know much about javascript, but it seems every time I come across something relating to "drop down menus" such as this one: [url] - you have to enter the link codes on every page you display the menu on.
So, here's my question. I want to display a drop-down menu bar similiar to the one in the link. I want it on ALL of my pages within my website, and the website has LOTS of pages - those I've built in Frontpage with HTML. I know I have to have the .js file and something else copied into the header of the pages, but it's telling me to copy and paste the menu bar part (with the links) into the body. If I do that, I'll have to go in and manual change all the links in EVERY page if I want to add or delete a link. I know there has to be a way in which I can make this happen on every page without and just edit one file if need to change something.
Does anyone know a good example on where to find something that when I click on vote it calculates the results and then shows me horizontal bars to show the percentage for each vote? There will only be two?
View 3 Replies View RelatedI made this webpage. It runs with a simple javascript function that changes the content in the window when you click on the menu buttons. the only problem is there are no vertical scroll bars when viewed in any browser. There seems to be a place for them but no actual scroll bar. I tried modifying the color and such with cs but it didn't change anything.
The site: [url]
Here is all the code starting with the html, then the css, and the two javascript pages
[code]
I have written a magnifier (using both CSS and JavaScript), and it appears to work OK in the four browsers I have tested (IE9, FF3.5.7, Safari 5.1, and Opera 11.51).
However, Safari annoyingly puts in scroll bars when you are magnifying the picture.
I can get rid of this by making the ctrlDiv offset as hidden, but then this removes the bottom scroll bar completely in all browsers (not really useful if the document is bigger than the browser window).
I have read about putting the image as a background image of another element, but cannot for the life of me get this to work at all.
Also, the functions to return the absolute position of elements (and mouse pointer) does not work if the document has a margin (i.e. width:1216px;margin:auto) - but I can work around this at the moment.
Anyway, the complete code is at [url](it was easier to stick it there and post a link than to post the code here).
I want visitors to be able to drag large images (maps) using a mouse on various pages of my site instead of them using scroll bars. I am using Dreamweaver 8.
View 4 Replies View RelatedI got 3 sections on the site, at the bottom of each are 5 bars which are used to change the text color. I'm trying to minimize the code, so I created an array which contains all the colors, but I'm not sure where to put the call to the array. If I put it in the for loop, the selected color will always be green no matter which color you click. The bars should also go up to 40px when clicked and when the next bar is clicked the current bar at 40px should go back to it's originals size(20px)
this is the JS
Code:
var colors = new Array(4);
colors[0] = "#ed1c24";
colors[1] = "#736257";
colors[2] = "#620460";
[Code]....
Is it possible, to hide the menubars of a browser, if the window is already
opened? I want to post a html-form to a "_blank" target (new window). This
new window should have no Menubars.