Hi,
so i got a question i what to count unique hits
so when user will come to the site i will save his ip bus the problem is how cant i know is he using proxy or not i could use HTTP_X_FORWARDE D_FOR bus it's not working on sites like http://hidemyass.com/ and a lot of more?
User Profile
Collapse
-
ok than you for you help ;] -
-
-
-
maybe it's because the file size is big try to open this i tryed this script on other computer is didn't work as wellLeave a comment:
-
-
PHP Download bug with MP files
Here is my php download mp3 script
Code:header("Pragma: public"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0");header("Cache-Control: public"); header("Content-Description: File Transfer"); header("Content-Type: audio/mpeg"); header("Content-Disposition: attachment; filename = " . $file_name . ";");
-
-
Flash return to JavaScript
So i got a question is it possible to do this
in my flash file is a button and when i press that button i what what flash would return to my javascript code that i pressed what button
so is it possible to do this and if it is how??? -
so i did script like this and i has one problem when i call $(element) it don't returns the element how i should if i put return statement in init function all script brakes how to do that when i put return statement the script wouldn't broke
[CODE=JavaScript]
var TaderDOM = window.TaderDOM = window.$ = function(elemen t) { return new TaderDOM.fn.ini t(element); };
TaderDOM.fn = {
Object: new Object,
...Leave a comment:
-
Prototype error's
i i tryed to explore jQuery because its build from prototypes so i made script like that
[CODE=javascript]
var TaderDOM = window.TaderDOM = window.$ = function(elemen t) {
return new TaderDOM.fn.ini t(element);
};
TaderDOM.fn = {
init: function(elemen t) {
return document.getEle mentById(elemen t);
},
html: function() {
return "working";
}... -
Object.prototype error on ie6
Hi,
my problem is that Object.prototyp e don't work in ie6 my function are
[CODE=javascript]
Object.prototyp e.hide = function() { this.style.disp lay = "none"; }
Object.prototyp e.show = function() { this.style.disp lay = "block"; }
[/CODE]
what to do that it would work in ie6 -
So you see i need to get this lets say i scrolled down to the bottom of the page and i call function scrollTop and lets say i get 1200. So i need to get that number without scrolling to the bottom of the page. how how to get than number (browser height)Leave a comment:
-
-
-
get full web browser height
Hi again,
so i got another question this time
i need to get full web height but i just can't do it can anyone help me plz
i try to use innerHeight, screen.availHei ght and so on but thous function get me height that i can see not full height with scrollbars so how to get height full web height??? i hove you understand me i you don't write i will try to explane again -
well it does remove box when i use
[CODE=javascript]document.body.r emoveChild(div_ box); [/CODE]
but then i get error like this
Code:Node was not found" code: "8 [Break on this error] document.body.removeChild(div_box);
Leave a comment:
-
removeChild error
Hi,
so i got script like that
[CODE=javascript]
var div_box = document.create Element("div");
div_box.setAttr ibute("id", "music_box" );
div_box.style.t op = (Number(cords[1]) - 10) + "px";
div_box.style.l eft = (Number(cords[0]) - 10) + "px";
document.body.a ppendChild(div_ box);
var mb_element = document.create Element("div");... -
script is working file now i just updated addEvent function to this
[CODE=javascript]
function addEvent(obj, type, fn) {
if (obj.addEventLi stener) {
obj.addEventLis tener(type, fn, false);
return true;
} else if (obj.attachEven t) {
obj["e" + type + fn] = fn;
obj[type + fn] = function() {
obj["e" + type + fn]( window.event );
}
...Leave a comment:
No activity results to display
Show More
Leave a comment: