I got a a JS code sometime ago to create dropdown menus. The instructions said that I should insert into the head section. The script works very well.Off late, I've been reading up on Javascript on w3schools and realised that I could move the script to an outside file and share it gloabally because I have galleries on seven pages that uses the same code. This works perfectly well, locally, on my desktop. But when I uploaded it to my hosting site(go daddy), the javascript doesn't work. This code worked perfectly well earlier when it was inside the HTML.Some of the classes I've used for the dropdowns are defined in a external styling sheet. I know for a fact that this styling sheet is accessible because the gallery styling is applied. It is only the dropdowns that don't work. I've checked on google and other forums and while the problem of JS not working on the hosting exists, it doesn't match the problem I'm facing. I am also able to access the JS file using the navbar and double checked the path.Can someone please help? I'm posting the JS code, the CSS styling and the HTML code below:
i have this site everything works perfect offline(local) but when i put it on my server theres a few things that mess up. What isnt working.. I have a little readmore link beside a main quote on everypage and this uses ceebox to open it. Within this lightbox it shows an html page that i made with just a little write up, at the bottom is a little nav and onclick it should be opening the corresponding hidden div while closing the lightbox. this works offline perfect, i cant seem to figure out why it wont once uploaded. I have gone over all folder names, etc and im positive this isnt the problem. this is the main page html snippet with the read more link
I have designed a site. It's working properly in locally.Now I want to insert a special javascript on my home page.The job of that special javascript is, makes some errors in the site when site is going to publish on internet.
I am using a javascript on a DotNetNuke CMS site to allow the user to choose text/background colour, basically it changes stylesheets. Here is the code that I have used:ttp://www.dynamicdrive.com/dynamici...etswitcher.htm and here is my example: http://lrptintranet.com.dnnmax.com/ - you can see the colour image buttons top right under the main menu. The style sheet changer seems to work on the top menu level items but as soon as you choose a submenu the javascript doesn't seem to work. I don't know anything at all about javascript - can anyone offer any advice how I can get this working on the sub menu pages?
We have jcarousel on our forum site which rotates automatically. It is vbulleting forum. In fact originally it was working fine with old design and rotating images automatically in horizontal direction with a set of 5 images visible at a time and total 12 images in set.
But we have upgraded our forum design in last week and I started getting issues with Jcarousel scroller.
Our site URL is [URL]
While old site design is still active at Parenting Forums - Natural Parenting Forum
At new design when we implemented jcarousel scroller it is showing only one image in a horizontal row at jscroller and it disappears immediately and after 3-4 min it do reappear again. When I inspected it using firebug I have noticed that other images are coming below vertically not horizontally, really strange. Also I noticed another thing is that it is not updating width at element.style in firebug for UL tag. It is showing fix width 220 px all time. I think due to that all images appearing vertically one after one rather than horizontally.
[URL]This is my website and you can see the images in the header are messed upbecause I tried to use "jcarousel" but it is not working and I have to sort this out
I made a contact form for my website originally in PHP. I wanted to change it to JavaScript because that is the preferred way. Originally I had the form in my HTML file using a separate PHP file for error checking. For JavaScript do I have to make a separate page and call to it like the last time? I have put it all on my HTML page and where it was calling for the php page, I also put the JavaScript code. When I go to my site, the error checking is not working at all. There must be something wrong, but I haven't been able to point it out and I am very new to JavaScript. Also, when I go to my page and right click for the source code, the JavaScript I have in there does not show up. Below is my HTML code.
I have been trying to integrate Big Cartel into a wordpress site using their external API but I've got some issues getting the script working in a wordpress page. It seems to be working how I want it in Chrome and Safari but not in FF and IE? The coding for the page is below.... why this wouldn't work in those browsers?
this may be more of an "html" issue, but I'll wing it.
i've got a multi-language site, where the home-page of each language group features a link to a popup window that offers background info on site management. the popup is fired by a javascript function, when they click the site management link. there's also a "window close" function button so they can nuke it as they please.
now, oddly, people who search for my site in the chinese language on google, are sent directly to the site management popup window, which of course, opens in their "full" browser window, and which also has no links back to the main site, because it's meant to open only as an "accessory" to the main site.
my question is this: is there any way, with Javascript, that I could determine if they arrived at this window from "off-site" (ie, a google search), and therefore offer such "off-site" visitors a link back to the principal site, a link that would be hidden for visitors who clicked the popup window from my own site?
Basically, I registered for a free board at one of the various sites because my server doesn't support .cgi scripts. I want to know if there is a way to have the data from a form on my site post to the board site -A user would fill in my form, click submit, and a new post would appear on the board site -as if they had entered it there. If you can point me in the right direction, I would be grateful. Here is my thinking.
A) I can't locate the script that they use to perform a "submit"; so I thought I might enter their <head> data (as far as xmlns, href, etc) in my <head>; that my website might call up their script files, css sheets, etc.
B)I could code my own Javascript function to send my form data to their site. If I knew how to simulate a mouseclick on someone else's site, I could have the script "click" there, paste the data, and hit the submit button. But I don't.
C) I could size their site down to the form itself and put it in a frame on my page
Option C is clearly easier, but I would prefer option A or B. I have time and will happily do the research myself; provided that I know if approach A or B is even feasible.
I'm making a fansite for a game called RuneScape and I'm a bit stuck on this part.
What I need for my website is, a page that will have the prices (min, middle, and max) of things from this [URL] or other items, which will be chosen later on.
Here are two example sites that I am wanting to ... do the same thing as them.
I was looking at the Web SQL spec on the W3C site (here)the example code
Code: function prepareDatabase(ready, error) { return openDatabase('documents', '1.0', 'Offline document storage', 5*1024*1024, function (db) {[code]....
I don't understand how/why prepareDatabase is set twice.Is there a term for this? I can't for the life of me think what it is. I know I've seen it before though.
I wondered if there was a way to blur my whole site except a popup-div when a link is clicked - just like lightbox fades out the page, just with a blur effect instead:[url]...
There are times that I am using another person's computer who has no knowledge of updating HTML and does not even know if he has the necessary programs to do the FTP.
I may see a minor problem with my site and would like to change it on the fly. What I would like to know are the answers to the following questions.
1. Is there any way to display unformated HTML within a web page without using the browsers source facility?
2. Is there a way to modify it? Maybe showing it in a form textarea.
3. Is there a way for javascript or a form to do an FTP back to the web site? This would obviously require id and password.
Is there any program out there that can scan a website for javascript errors? Just trying to fix some EXTREMELY minor problems on a very large (20,000 pages) web site...
Is it possible with javascript to retrieve somebody's Computer name when he connects to a webserver? (So the webserver receives the computername of the client).