-
Content Count
55 -
Joined
-
Last visited
Everything posted by BlueInkAlchemist
-
Away With Iframes
BlueInkAlchemist replied to BlueInkAlchemist's topic in Websites and Web Designing
@Buffalo - I will definitely check them out, thank you. The 300x250 space is for non-scrolling ad content. The ads rotate at 30-second intervals, with each client's ad being fed to the content space via an XML file. My initial thought is to parse the XML with Flash and use the call method of ExternalInterface to send the advert link to a JavaScript function. If there's another way to accomplish rotating ads dynamically within a fixed iframe-emulating div or layer, I'm all ears, so to speak. UPDATE: I think this can be done purely in JavaScript. I found a function to facilitate the timer, and if the content I'll be working with is always fragments of code as opposed to a strict url, I should be able to copy said fragment into a div and toggle its visibility based on the timer. My concern over this method would be the load time. So, I'll need to see if I can find a way to dynamically load and unload the content of a div tag as well as managing its visibility. -
So iFrames need to gtfo of my project. Ajax isn't going to work either. But I still need to dynamically load HTML or JavaScript content into a 300x250 space and change it every 30 seconds. I don't think I can accomplish this in Flash. So how do I go about doing this?Is it possible for me do this within JavaScript? Or, perhaps, can I display external HTML content in a div tag?Thanks in advance.
-
Greetings, all. My work project includes a Google Ads module. We know for a fact that our site, and the page of my project in particular, are getting tens of thousands of hits. However, GoogleAdsense is only reporting a handful of impressions and clickthroughs, which is data inconsistent with the figures from our web servers.Our pages use Ajax for tabbed content within a page, and often those tabs contain Flash content. How does this affect Google's reporting software? Is there code that needs to be included in the Ajax or ActionScript to pass the proper 'hit' info to Google? Or is Google just not getting its numbers right for one reason or another? Thanks in advance...
-
Hmm.It sounds to me like she does have an interest in you, but is trying to play it cool/safe because of her current boyfriend. I'd do the same, play it cool, and let things happen in their own time. Hang out with her when you can, be her friend, but don't try to make a move on her unless she makes one first.That's my $0.02 anyway.
-
Greetings, all. I'm in the process of fixing my PC after a near-catastrophic failure. Things got too hot in my case, shorting the power supply and blowing capacitors on my graphics card. Those parts have been replaced and the PC now boots fine.However, as Windows loads, the keyboards (I have both a PS/2 and a USB keyboard) cease to function. They work just fine up to a point, but during the Windows loading process the lights flash on then off, and no amount of typing or facerolling produces any output. The pair of times I managed to get it booting into Windows' Safe Mode, it seemed to hang up on 'Mup.sys' but I don't know if it's related. I can access the BIOS just fine with the keyboards, and when I pop my Ubuntu disk into the system, it has no problems allowing me to use my keyboards. So, considering I can access my system in this semi-backdoor fashion, is there a particular way I can check the *.sys files of Windows to see if some of them need replaced? I'd like to avoid reinstalling XP if I can. I believe it won't be that large of a hassle given that my partitions seem to be intact, but I don't want to risk losing anything else.
-
Dead Space A new survival-horror-action game
BlueInkAlchemist replied to encryptedwrath's topic in Computer Gaming
http://forums.xisto.com/no_longer_exists/ is the other prevailing opinion on the game. -
Barack Obama The Next President Of The Us
BlueInkAlchemist replied to Saint_Michael's topic in General Discussion
I completely agree that our political process is over-hyped. The media in this country is absolutely insane. There was an election in Canada right before ours, and most people in this country weren't even aware of it because they were doing things like digging up dirt on Joe the Plumber or staring at Sarah Palin's thighs. -
Which Came First The Chicken Or The Egg?
BlueInkAlchemist replied to joeblogg's topic in General Discussion
Chickens come from eggs, which are laid by chickens. But were there always chickens? No. There was a form of life before chickens that laid eggs which hatched to bring us chickens, so technically some form of 'proto-chicken' came first. Hence, the chicken came first. While this is an intriguing question, it's not something I usually think about when I'm getting wings at Quaker Steak & Lube. -
Barack Obama The Next President Of The Us
BlueInkAlchemist replied to Saint_Michael's topic in General Discussion
January 20th 2009 is the inauguration, which is completely unlike most other countries in the world. Obama should be in office as of now. -
In my humble opinion, lack of government is not freedom - it is anarchy. A government of elected officials, chosen from the population of the country, entering their offices at the behest of the people instead of through force of arms is the essence of our country, and that is what sets it apart from countries where true dictators, violence and fear determine the government. Sitting back, folding your arms, and scowling at everybody else who's voting is not going to engender change. If you want change, go out and make change. I wanted change, I voted, and I feel better about my country for it. You are entitled to your opinion, and I'm glad you're able to voice it without a government operative shoving a black bag over your head.
-
This worked. I added it to the page being displayed by the iframe, and now the look is consistent between Firefox and IE. Thanks so much for your help!
-
The actual code for the iframe generator is as follows: function makeFrame(src) { ifrm = document.createElement("IFRAME"); ifrm.setAttribute("src", src); ifrm.setAttribute("scrolling", "no"); ifrm.setAttribute("align", "center"); ifrm.setAttribute("marginheight", "0px"); ifrm.setAttribute("marginwidth", "0px"); ifrm.style.width = "300px"; ifrm.style.height = "250px"; ifrm.style.position = "absolute"; ifrm.style.top = "30px"; ifrm.style.left = "505px"; ifrm.style.backgroundColor = "#333333"; document.body.appendChild(ifrm);} I will try some of the style suggestions here to see if it resolves the issue; if it does I'll be sure to update. Thanks for your input!
-
The problem with using raw code, in this case, is that 30-second shares of advertising are going to be sold to clients who may or may not use a module like google's advertising. The adverts need to be rotated based on the links provided by a list (created in XML) which is parsed by Flash, passing each module in turns based on a timer to the javascript that creates the iframe. I tried using ThickBox and also tried creating a DIV with no success and turned to a script I found for dynamic creation of iframes. This solution works, but if a better one exists I'd love to try it out.
-
Greetings, all: I'm using an iframe to display some advertising content. The content displays fine, with one notable exception. In Firefox, the content is centered properly, while in Internet Explorer there is white space along the top and left side of the advert. Here's what the difference looks like: Firefox: IE: While the iframe is defined using JavaScript, I believe this is a problem with the iframe attribute. Both 'marginheight' and 'marginwidth' are set to 0. What else can I do to resolve this discrepancy? Thanks in advance.
-
Since the function has 'id' as it's first variable, wouldn't 'test' be passed to the javascript function as the value for that variable? <a href="#" onclick="creatediv('test','test.html','300','250'); return false;">Test Link</a>
-
As rusty as I was with ActionScript when I started my new job, I'm even rustier at JavaScript. I'm trying to generate a new div on a webpage, containing an html file that (at the moment) holds only a simple .gif image. The page looks like this at the moment: <html><head><script language="text/javascript" language="Javascript"> <!-- Hide script from older browsers function creatediv(id, html, width, height, left, top) { var newdiv = document.createElement('div'); newdiv.setAttribute('id', id); if (width) { newdiv.style.width = 300; } if (height) { newdiv.style.height = 250; } if ((left || top) || (left && top)) { newdiv.style.position = "absolute"; if (left) { newdiv.style.left = left; } if (top) { newdiv.style.top = top; } } newdiv.style.background = "#00C"; newdiv.style.border = "4px solid #000"; if (html) { newdiv.innerHTML = html; } else { newdiv.innerHTML = "nothing"; } document.body.appendChild(newdiv); } // End hiding script from older browsers --></script><title>JavaScript Test</title></head><body><a href="java script:creatediv(test,test.html,300,250)">Test Link</a></body></html> Can you folks take a look at my code and let me know what, if anything, I'm doing wrong? Right now all the test link does is look at me funny when I click on it.
-
The Philadelphia Phillies Are World Series Champions
BlueInkAlchemist replied to Saint_Michael's topic in General Discussion
I've been thinking about this resurgence of my Phillies fandom... I haven't really been all that interested since Mike Schmidt left the team and Pete Rose went to jail. But with guys like Chase Utley, Cole Hamels and Brad Lidge on such a tight-knit, professional and outstanding team, I think I can safely say my faith in the Phillies is restored. And how can you not love the Phanatic? As for the Rays, they are a young team that came from behind to make it to the World Series, and I'm sure they can do it again. Philadelphia fans have been hanging on for 28 years. Tampa Bay can last at least one more. -
"Equilibrium" is one of my favorite films, and not just because of the gun katas.Krav maga is probably the closest martial art we have to the gun katas. It's close-quarters self-defense developed by the Mossad and, iirc, it can incorporate the use of firearms for definite finishes in real-world situations. I doubt they allow Glocks in sparring practice, however.
-
My domain, http://www.blueinkalchemy.com/, is currently registered with Microsoft Office Live. I want to move to Trap 17 so I can more freely develop content using PhP and MySQL. How complicated is the process to have the URL point to hosting space on Xisto, provided I am approved for that space? Thanks in advance...
-
I live in the United States (near Philadelphia, Pennsylvania), and have completed my bachelor's degree (English) and coursework for a master's (Instructional Technology). My girlfriend will soon be attending college and university, possibly pursuing a degree in law or history, and lives in Canada (Kitchener/Waterloo, Ontario). We've debated her coming down here to study, possibly at Penn State, as well as me moving north to study an MFA in Creative Writing. Which would be less expensive? It's going to be costly any way we slice it, but we're looking at a long-term relationship and would rather not be broke so we can enjoy it. :lol:Thanks in advance for any advice you might have!
-
I'm working with Flash CS3, ActionScript 3, and items in an XML document.I'm looking for advice or a tutorial on making a navigation bar that loads items dynamically and populates from the center of the bar rather than the left side. I know there'll be some coordinate math to be done, but I'm unsure where to begin. Can you suggest a site like gotoandlearn, or is there something already there that I'm missing? Thanks in advance.
-
Starcraft continued Blizzard's excellent track record, and Starcraft II should be just as amazing, comparatively speaking. I won't be abandoning WoW for it, but I definitely will be picking it up. Same goes for Diablo III.
-
Firefox Hates Moveplayer Help me save my crashing browser.
BlueInkAlchemist replied to BlueInkAlchemist's topic in Software
Thanks, Saint. I got Firefox to load by creating a new profile. How do I reset the old one? Also, can I import saved passwords as well as bookmarks from an old profile to a new one? Also, I'm the one who posted that on Mozilla's support site. I'm as disappointed as you are.