Jump to content

Recommended Posts

im missing a soft brush eraser in PDN. :)

Not sure whether you know that reducing the Transparency - Alpha

setting of your Primary color in the Colors window will reduce the strength

of the Eraser tool's action.

Also, using Clone Stamp with the anchor point set on a 100% Alpha layer

with the Transparency - Alpha setting of your Primary color lowered

gives an even better soft eraser brush emulation

Link to post
Share on other sites

If you could be a bit more specific: is this your page? Or another page? Instead of Javascript, PHP works great with file includes.

I've been reading about file includes but all I want to include is a set of numbers from a page, not the entire page itself, can this be done or am I barking up the wrong tree?

EDIT: To clarify, let's say I was insane about you and I wanted to display the number of posts you have "live" on another web page how would I have a "live embed" of this particular data using HTML & Javascript?

Edited by vista?
Link to post
Share on other sites

I've been reading about file includes but all I want to include is a set of numbers from a page, not the entire page itself, can this be done or am I barking up the wrong tree?

EDIT: To clarify, let's say I was insane about you and I wanted to display the number of posts you have "live" on another web page how would I have a "live embed" of this particular data using HTML & Javascript?

If the page you are making has access to javascript, it is easy. Remind me later this weekend and I'll send you the codes.

Link to post
Share on other sites

In order to "celebrate" the new forums, here is an unfunny joke which is half-baked as standard. boltbait.big_smile.png

When Rick Brewster takes up knitting as a hobby, what does he end up renaming Paint.NET to?

Paint.Knit boltbait.lol.pngboltbait.lol.png (Funny eh?)

Now then, how likely is it that Rick would ever take up knitting as a hobby and end up renaming PDN?

I found that quite amusing, actually. The thing is, all these kids at my school continually say "knit" or "nit" instead of not.

For example, my band director said, "Who plans on helping at the xxxx event next Friday?" A random kid raised his hand and said, "I will." While the teacher was writing down his name, he shouts nit. And for some reason everyone at our school finds this act quite hilarious. The band room erupted in laughter, of course.

Link to post
Share on other sites

I found that quite amusing, actually. The thing is, all these kids at my school continually say "knit" or "nit" instead of not.

For example, my band director said, "Who plans on helping at the xxxx event next Friday?" A random kid raised his hand and said, "I will." While the teacher was writing down his name, he shouts nit. And for some reason everyone at our school finds this act quite hilarious. The band room erupted in laughter, of course.

ahhh! Ye olde band days. I played a tuba in high school. Even marched in the 2004 memorial day parade in washington d.c.(that was the year they opened the wwII memorial). I was a fat kid carrying an 80 pound silver sousaphone. I got heat exhaustion that day too puked my guts up in a parking lot lmao!

Link to post
Share on other sites

I've been reading about file includes but all I want to include is a set of numbers from a page, not the entire page itself, can this be done or am I barking up the wrong tree?

EDIT: To clarify, let's say I was insane about you and I wanted to display the number of posts you have "live" on another web page how would I have a "live embed" of this particular data using HTML & Javascript?

Here's how I've been following you...

<HTML>
<BODY>
<script language="JavaScript">
text="";
// create a request object so that we can connect to the web service
req = new ActiveXObject("Msxml2.XMLHTTP");
if (req) 
{
   // setup a callback function for when the XML has been loaded
   req.onreadystatechange = processStateChange;
   // specify the URL of the web service
   req.open("GET", "http://forums.getpaint.net/index.php?/user/48773-vista/", true);
   // go get the data
   req.send();
}

function processStateChange()
{
   // is the XML ready for use?
   if (req.readyState == 4) {
       text = req.responseText;
// find your post count
document.write(text.substr(text.indexOf("posts'>")+7,6));
document.write("<BR>\n");
   }
}
</script>
</BODY>
</HTML>

You need to be logged in for this to work... since guests can not view profiles. Works in IE (the standard browser for the world). If you want this to work in other browsers, you'll have to ask someone else how to modify it for that broken browser.

EDIT: OK, technically, this shouldn't work at all due to cross-site security risks. A proper solution would be to do the "get" and the processing server side.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...