Tag Archives: doubt

Slingshot(Gullel in hindi) modelling and rigging in blender

This post seems to be another query blog in blender.As I said I am making a video game which has few elements of angry birds.I tried playing with the RIGID and SOFT Bodies to create the Slingshot effect but not to any results.

Can you help me out in this:


How to change the current URL in an XUL file ?

I came across this strange problem .

When I used this line of code

var currentURL = urls[z(0,totalurls-1)]; ;
window.location.href = currentURL;

where z is a function that returns the function randomly.

The code is working perfectly fine and changes the URL of the current window itself…but the problem here is that we can switch websites only once as the object that invokes the random change of URL disappears with the first site itself.

The solution is a Custom Toolbar which will not go away even if the URL is changed….Something like STUMBLE UPON..



So , when this same code is used in an XUL file, another window is being created with the random URL, but I want the random URL change to happen in the same window.It is creating one more window at each click of the Stumble button.

Doubt in XUL

Doubt in XUL