I'd like to embed QuickTime movies on my site using custom controls (play/pause/volume) like Apple does on its website. I'm assuming it's just some fancy JavaScript and .gifs/.pngs?
...
Hi there,
I am trying to reorganize my javascript into JS files and clear out my js from my html... The way i see if is the following.... I would really like some input or any documentation/information confirming my plans - a little uncertain.
Basically if i have a Home.htm file then i will have a home.js file also, notice they are na...
Hi there,
is there anyway to load other JS files from within a single JS file. I would like to point my individual pages "ITS" js file and that js file would load jquery, other js files.
I know i can just pop all these into the html i.e.
I was thinking of separations of concerns so i was wondering if anything exists already without ...
I need a simple list (3 lines of text) surrounded by a gray box. I know I need to implement on blur instead of a "close" button.
Here's what I have so far...
I can't sen to get text values to transfer.
Help!
<script> function $(id) { return document.getElementById(id); } </script>
<input name="media" id="media" type="text" />
<input ty...
I don't know what to call the type of menu that RegexPal use for their quick reference, therefore I've called it a "Pin Menu" (not sure if there's a more appropriate name?), but I'd like to recreate the functionality which essentially is:
Opens on mouse over and closes on mouse out.
Pin functionality to keep it open permanently.
Clos...
I maybe doing something wrong, but this seems quite weird to me:
for(i=1; i < 5; i++){ alert(i) }
in before mentioned firefox version gives me five counts of i. the question simply is: what the hell?
thanks!
SOLUTION: ok, it was my own mistake. i actually had an alert after the one in the loop which displayed number 5 :)
thanks all...
I have a windows, which in there is a upload button. When user click this button, it will popup a page for user to upload the desired file. But i dont know how can the main page detect if the user uploaded and add a field to the main form?
I've been seeing this somewhere but i dont remember so i can't go back to check out the source JS....
Coming from mootools and JAVA, mootools class implementation is a real nice way to structure my code, plus I can have some nice features like extending, implementing and so on. Starting with jquery I found my self writing $.fn plugins that cant use code of other plugins. Plus it seems no good idea to use the plugin structure for complex ...
im just interested how firefox plugins like DownloadHelper, is able to automatically find .flv URL
...
how do i call a link to itunes (itms://...) without opening a new window.
with window.open there comes a new window (as the function says :))
$.get('itms://...'); doesn't work.
Any other possibilitys :)?
would be thankful for help!
...
I have some boiler-plate script required for a Telerik RadGrid on one of my content pages. ASP.NET complains if I try and place the script inside the content element, and it complains if I place the script in the master page, because the grid referenced by the script doesn't yet exist 'in' the master page.
I'm sure there is something f...
currently i am relying on a proxy script to handle this problem of Single Origin Policy. it is slow, and creates overhead. Not to mention, javascript is not rendered.
is there a working alternative out there?
...
Primarily, I'm a C/C++ programmer on Unix machines... But I'd kill for browser based shell access to a linux box...
So, the question is: How hard would it be, and what approaches would be the best for building real shell level access into a web page? Flash? Javascript?
I know this is really all opinion, but I'm curious if people think ...
I am storing a number of HTML blocks inside a CMS for reasons of easier maintenance. They are represented by TEXTAREAs.
Does anybody know a JavaScript Widget of some sort that can do syntax highlighting for HTML within a Textarea or similar, while still staying a plain text editor (no WYSIWYG or advanced functions)?
...
mysite.com has an iframe which loads some differentsite.com.
need to run javascript on this loaded iframe document.
Single Origin Policy kicks in.
i resort to using proxy. its slow, creates bottleneck, unable to fully render the site (JS is not rendered).
Alternatives ?
...
I'm having a bit of a problem figuring out how to get the X/Y coordinates of where the finger is touching in a webapp on iPhone Safari.
I've got a function subscribed to the 'touchstart', 'touchmove', and 'touchend' events, and I have tried pageX/pageY on the event but can't seem to get anything other than 'undefined' or 0.
I'm also th...
Hi, I have a form with a name and an email address. I want a simple icon to appear to the right of the form if the user types anything in the field, even one character. If there is anything present in the field, I want the success icon to appear. If the user advances to the next field with no input, I want the fail icon to appear. Does a...
I have some Javascript code that creates 2 arrays: One for Product Category and one for Product.
But before the user can choose the Product Category or Product, they have to choose the type of Campaign they wish to use. Thus, the selection (event) of the 'Campaign', triggers the hidden drop-down menu from which to choose the Product...
I posted on this a while ago, and have since done more research and advanced the problem, but I still don't have a solution...
I have a site (www.seatgeek.com) where a lot of links are loaded via AJAX. When a user clicks on one of these links I want to count it as a goal, so I've tried attaching pageTracker._trackPageview() to the link...
Hi,
I am trying to create a new Element in my javascript code and append it to one of my elements. But it seems that old IE browsers do not support this function and my code breaks on the line where I use appendChild function.
var child = document.createElement('span');
child.innerHTML = "Hello World!"; // Crashes here
parent.appendChi...