I ended up handling this a different way. If you're interested, here's what I did:
http://stackoverflow.com/questions/484795/exclude-nested-files-from-source-control
We're having a problem combining 'nested files' and excluding files from source control.
We're using code generation to create two partial classes for each entity - MyBusinessObject.vb and MyBusinessObject.Generated.vb
We'd like the "Generated" file to appear as a nested file under the manual...
Well using the code I posted, couldn't you append to it like this?
var val = readCookie('cookieName') + 'someOtherValue';
createCookie('cookieName',val,30);
Adam
http://adameslinger.blogspot.com/
You don't need to reinvent the wheel. A simple google search gave me this page that had this code. Use it to read/write your cookies without overwriting/deleting other cookies. function createCookie(name,value,days) {
if (days) {
var date = new Date()...
If you split it out on more than one line, then the line number in the error might mean something.
var step = 2;
function objWidth(obj) {
if(obj.offsetWidth)
return obj.offsetWidth;
if (obj.clip)
return obj.clip.width;
return 0;
}
function objHeight(obj) {...
Would you like just anyone to be able to track everywhere you've been on the Internet? Most people wouldn't, so browsers don't expose this information.
You could track clicks on links on YOUR sites, but that doesn't sound like what you're after.
Adam
http://adameslinger.blogspot.com/
A .exe? Wouldn't the browser prompt you to download it as a file? I don't think JavaScript can reposition a windows app that was opened. Maybe you could give us a little more detail and post the code that you've created so far so we can help you.
Adam
http://adameslinger.blogspot.com/
I'm very surprised that you weren't able to find a working example of an onclick event on the entire Internet. Well not that surprised I guess. Here...
<a href="#" onclick="myfunction('foo.doc');return false;">foo</a><br />
Adam
http://adameslinger.blogspot.com/
And for your changetext function, you can't use getElementById because it's only text. It's not an element yet.
Try this:function changetext(elemid) {
var ind = document.getElementById(elemid).selectedIndex;
document.getElementById("myImageID").onmouseover=new Function("tipText('<div...
You need to HTML encode it so the browser doesn't think it's a malformed IMG tag: onMouseover="tiptext('<div id=display>Message 0</div>');"
Adam
http://adameslinger.blogspot.com/
What's in your script that's so top secret that you do want anyone to see it? Honestly, the only way to hide your JavaScript from the end user is to not put it on your server.
I did a google search for spoof HTTP_REFERER and there was no shortage of methods for doing so. Not that I'd have to -...
I think trying to change the behavior of something everyone is familiar with is a very bad idea. But if you really need to do this, you could attempt something like this: (I was really bored)
Create an array to track the user actions you want to be able to undo.
After every action, change the...
This should work for adding the days:
function addDays(oldDate, days){
return new Date((oldDate-0)+(days-0)*1000*60*60*24)
}
For parsing the string, read up on the String object. I suggest http://devguru.com/technologies/javascript/10792.asp
Adam
http://adameslinger.blogspot.com/
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.