I am using a simple prototype slideshow and a more comprehensive jquery slideshow on my website.When these are used on the same webpage on my website there appears to be a collision: (For example)Code:element.attachEvent is not a function[Break on this error] element.attachEvent("on" + actualEventName, responder); How can I avoid the conflict without reverting to a new slideshow?
you have two buttons, each of them links to different pages and is represented by an image (a button of course). When one button is clicked i want it to become active (so as to call this different image of the same button active i.e. with another color) and the other to swicht to its image inactive. Here is this simple script i managed to put together:
var interneti=true; function swapimage(interneti) { if (interneti){ this.location.href = "telefoni.html"; document.images['internet'].src ="a_files/FirstNonActiveButton.jpg" ; document.images['telefoni'].src = "a_files/SecondActiveButon.jpg"; [Code]....
Now, what happens is that the change of images that represent the buttons takes place only before the page it links to is loaded. Afterwards it seems like the page is reset. The buttons are in the header module called from every page in my site. I cannot understand how to make it possible that the document.images['internet'].src ="a_files/FirstNonActiveButton.jpg" ; happens in the page called.
I'm writing an android application to login into a website by injecting javascript into the HTML. So far it works for inputting the username and password, but I can't enable the submit button.
I was able to edit it and then download the personalized altered code. BUT I can't figure out how to edit it to get the information to submit to me. I really need to get their resume and information. I dont know if it should submit to my webspace or my email. Email would be easier but either is fine so long as I can read them. When I downloaded the zip file for the application form included a CSS, Images and Scripts folder also an index html page. In the Scripts folder was a file titled wufoo.js which I think I read right to be JavaScript. You have to pay a montly fee to wufoo.com inorder to have your form information sent to them.
I'm working on a simple website in which I'm required to use two types of forms input on a webpage. I have decided to make a simple quiz which will be designed.Is this possible in a simple way? Sounds quite straight-forward.Is it possible to design a radio button which, depending on the choice, the related-text will appear underneath on the same page? So if they select 'A' then paragraph 'A' will show, if they select 'C' then paragraph 'C' will appear (with the rest hiding)..
I'm new to javascript and I have a button in an interface for an app. It's like drag and drop and i want this button to link you to a certain website searching for what the user types in the searchField1 box. The button is button16. Such as you type dogs into the text box and you click the google button among other search engines and it will redirect you to a google search doing a search for dogs. But how do I make this button search google and search for whats in searchField1. I would really appreciate the help. Im looking everywhere to learn this but just cant find it. If you could tell me how or send me a link to a tutorial code...
We've developed a web application with static & iframes, each time we interact with the links in the static frame gives results in the iframe. it has a custom back button in the static menu frame. this back button working fine in IE7 IE8 but not properly working in IE9 it goes 3 sometimes 4 pages back.
we are using history.go(-1) is there any other way to make it work in IE9, even pressing the Backspace key wont work. we've tried many ways but no use.
In the background should play a midi file. That's not the problem but when the midi file is played another one should start automatically. During playing the first midi file the second should be downloaded and so on.
What I don't know is when the midi file is played and when I should start the next midi file.
I'm hoping to find a way to load a music file that will continue to play when moving from page to page without interuption, only ending when the site has been left. I've only seen where the music resets every new page.
I have got a client who wants to have music playing on his site, the music player should be opened in a pop-up window. The website is standard html / css / js website, without any flash or such things.
Problem which I have:
I open the pop up window with music player when visitor visits Home Page, when visitor comes to other page without visiting home page I need to check if pop up window is opened or not and if it is not opened I open a pop up window and start to play music, how to achieve it?
I have a tiny flash player(with controls) in a table on it's own html page. It only plays one piece of music. But I need an unusual popup script which I can't seem to find. I want the tiny player (75 x 30) to popup on it's own without all the window (chrome?) surrounding it. I want it to be in either the top or bottom left corner. I would also like it to popup on load but turn off when I go to a particular page that I have a sound video on and then turn off completely when they leave the domain. It is a music site. How do I get around annoying popup blockers.
I would need your helpful with a code for playing a music or video after 5 seconds launched page. I need a code to say under <body> </body> like autoplay.
This is a script that will load a page with a random background song, plus will refresh the page when the song finishes!
<script language="javascript"> // use this script freely // var numsong stands for the number of songs given var nummidi = 5 day = new Date() seed = day.getTime() ran = parseInt(((seed - (parseInt(seed/1000,10) * 1000))/10)/100*numsong + 1,10) if (ran == (5)) { song=("song source") words=("song name") time=("song time in seconds") } else if (ran == (4)) { song=("song source") words=("song name") time=("song time in seconds") } else if (ran == (3)) { song=("song source") words=("song name") time=("song time in seconds") } else if (ran == (2)) { song=("song source") words=("song name") time=("song time in seconds") } else if (ran == (1)) { song=("song source") words=("song name") time=("song time in seconds") } document.write('<meta http-equiv="refresh" content="' + time + ' URL=npmusic.html">') document.write('<EMBED SRC= "' + song + '" CONTROLS=smallconsole HEIGHT=45 WIDTH=290 AUTOSTART=TRUE LOOP=FALSE VOLUME=100%>') document.write('<br>You are listening to ' + words + ' ') </SCRIPT>
This script was made for a small pop-up window to have nothing but the song file in it. Also, you use this script in the <body> of the file. (Yes, the meta tag works there) ...
In the HTML I use a simple code to autostart a short piece of music with an endless loop. Now I would like to delay the autostart with 0.5 second. How can I do that?
On this page, when you click one of the item titles, a pop up box appears. Depending on the size, the music player interferes with it (displays in front and blocks some content). Is there a way to make the music player appear behind the pop up?
I have been building my own website using iWeb, however, iWeb does not supportcontinuous music that will keep playing as you browse through the website. Initially, I managed to solve this problem by adding a html snippet in iWeb. Before each page reloaded, there was a white flash, but for the most part, I was happy with the results and no matter which page I turned to on my website, the music played continuously without interruption. Then I decided to change my navigation bar on my website. iWeb's navigation bars are very basic and I wanted to change the static navigation bar to one that fades-in and fades-out when the cursor passes over each button. I managed to do this. This too required a html snippet on each one of my pages and extensive changes in my ftp sever files. The results are beautiful. Now I am having problems again.Now that I have my fading navigation bar up and running, I can not get continuous music to play using the same html snippet as I did before. Apparently, the flash-based navigation bar is inteferring with the continuous music html snippet. I don't know if there is an easy work around. My question to everyone here, is there a way I can bypass the iWeb route and add continuous music in my Cyberduck ftp server? [URL]