Finally I found the effect I was looking for.
Sadly it is written as a java applet.
Do you know how can I get the same effect with java-script?
You can see the effect in the link bellow... it switches between pictures as though they where book pages:
http://javaboutique.internet.com/BookFlip/
...
Hello there,
I have a video gallery that has a menu on the left and loads the content into a div on the right hand side. The menu is generated from php video posts so we need a general script that will effect everything.
-- The problem --
The links will load the URL of the video as an anchor on the current URL -
eg.
http://www.divet...
no jQuery. pure javascript.
e.g. Use element.height but I got nothing.
I ever seen code like below befow:
(ele.style || ele)[styleName]
but I forgot what it use to.
...
Hi all.
I have the following dropdown box
<form name="myform" method="POST" ACTION="songs.php">
Select Category: <select id="sel" name="categories" onchange="document.myform.submit()">
And all the options follow after. When the user makes a selection, the category is brought up below using PHP and MYSQl based on the selection containi...
Are there protocols/solutions/messaging system that allows me to communicate between languages AND servers?
Eg. I want to be able to communicate between one server running Java (or Ruby, Python etc) on the backend and one server running Javascript also on the backend.
The solution I use now is HTTP REST.
Are there other solutions that...
I'm looking for a JavaScript framework that will assist me to draw/animate shapes on top of my web document elements.
for example - I want to place a banner/popup just on a specific word in my web-document and make if disappear/fade out after a while.
any recommendations?
thanks
...
I want to use values of the calling object within the jquery code block, but 'this' is mapped to the jquery object and not eh caller! How to solve this PLEASE?
// class
myClass = function (){
// member object
this._localVars = {
_elementClass:'.elem-class',
_dots:null,
_dotStatus:null
};
// membe...
In some Google ads I have found that the hyperlink hrefs look like this
href="s-p: Go to XYZ.com"
These work, but I cannot see the code that translates the s-p: bit into an actual url.
What 'veil of ignorance' am I peering behind, please? I would like to know how the conversion is done. What technology is in use here?
This is an A...
I'm trying to have a counter increase gradually. The following works:
function _award(points){
var step = 1;
while(points){
var diff = Math.ceil(points / 10);
setTimeout( "_change_score_by("+diff+");" /* sigh */,
step * 25);
points -= diff;
step++;
}
}
However, it uses an implicit eval. Evil! ...
I am working on a page that uses javascript / AJAX to parse xml from a file. I need to be able to parse a url on the loading of a page and insert it into a div. I have the script written but I need help getting 2 things:
1) having it parse an XML file and load that data into a div on page load
2) the option to click a link and load that ...
I'm dealing with a ball-of-mudd project that uses frames & iframes to create a "customizable" interface (like people did in 2002).
The application runs from within a hta and kind of emulates a real WPF style app. I need to capture keys so I can selectively change/refresh some of the subframes.
What I'm trying to do is, if there was a ...
I'd like to add a feature to the awesome GleeBox project and it involves intercepting requests to create new tabs (so command-T on OS X). I know this sounds like a bad idea but bear in mind this is for an optional extension!
Anyway, is it possible to intercept a modified key-event that is used for a "system" function such as this?
...
Hello to all,
i'm trying to do is get all value of 10 textbox and get there total and print it on submit. I did var id = getelementbyid(id) then x=var1+var2 but nothing happens. Please help me on this.
<script type="text/javascript">
function test(){
document.getElementById('out').style.display = "block";
return false;
}
...
Recently, I found out that jQuery has an official template engine which was contributed by the Microsoft team.
Also I had heard about jTemplate from my friends, but I'm still confused:
When & where might I need to use these plugins?
How should I choose between the many client side template engines?
...
Hey guys :)
I've a ul li menu such like:
<ul>
<li><a href="#1">Image #1</a></li>
<li><a href="#2">Image #2</a></li>
<li><a href="#3">Image #3</a></li>
<li><a href="#4">Image #4</a></li>
</ul>
And I have a container with an image like:
<div id="image-container">
<img src="images/1.jpg">
</div>
I want to swi...
I have tabs on my page. The code for them is following:
$('ul#tabs li a').click(function(){
var id = $(this).attr('id');
var counter = 1;
$("ul#tabs a.current").removeClass('current');
$(this).addClass('current');
$('.contentBox').not('.' + id).hide();
$('.contentBox.' + id).show();
...
Current Situation
I am in the early phases of designing a web app that the user will interact with via a browser extension that will be in the form of a horizontal nav bar. I wanted to use Pylons and Python on this project but am unsure how it fits in. As I understand it a browser extension is "just bundled HTML, CSS, JS and image files...
I have a function which needs to redirect the page if a variable is set etc...
The problem is, this function is at the bottom of the php page.
This means, I have outputted alot of information, so I get a headers warning.
"Warning - Headers already sent by ..."
Is there any way to redirect after headers are sent?
Thanks
...
I'm writing drag & drop functionality in my HTML5 Canvas application and am wondering how to detect if I'm clicking on a shape other than a rectangle or square, in which case I would do something like this inside of my 'mousedown' event handler:
if (evt._x > 13 && evt._x < 202 .... ) {}
I don't see how to easily do something like that...
I want to add a MouseOver event handler for any tag. Let say just for the example, that I want to add the event handler for every anchor page in a legacy HTML page.
Following the GWT guide, I was able to use their a JSNI method suggested to retrieve all anchor tags after correcting small errors (missing parenthesis and types).
However,...