Valhalla Legends Archive

General => General Discussion => Topic started by: I3laze on October 21, 2003, 09:18 PM

Title: Iframe
Post by: I3laze on October 21, 2003, 09:18 PM
To display a webbot on a website you would use iframe. My question is, since I do not have access to the src of the iframe and I cannot change the scrollbar color through it, is there another way?
Title: Re:Iframe
Post by: MrRaza on October 22, 2003, 06:37 AM
search on google for, 'HTML "IFrame"'
Title: Re:Iframe
Post by: Skywing on October 22, 2003, 07:41 AM
Quote from: I3laze on October 21, 2003, 09:18 PM
To display a webbot on a website you would use iframe. My question is, since I do not have access to the src of the iframe and I cannot change the scrollbar color through it, is there another way?
Generally, you accomplish this kind of thing via CSS.  All of the BinaryChatISAPI-generated frames support setting a custom CSS file.

However, I'm not certain if setting scrollbar color is actually valid/standard, so I'm not sure if you'll be able to do that.
Title: Re:Iframe
Post by: hismajesty on October 22, 2003, 01:39 PM
You could restrict scrolling altogether.
Title: Re:Iframe
Post by: I3laze on October 22, 2003, 03:27 PM
I would need to set the scroll bar by CSS on the url I am iframe, that is where the problem is. I cannot edit http://botdev.valhallalegends.com/webbot/webchannel.asp?BotName=YourBotName&ChannelName=YourChannelName that, so I need an alternate was since setting the scrollbar color of the body does not affect the iframe.
Title: Re:Iframe
Post by: Adron on October 22, 2003, 05:47 PM
Which is why you pass in the css you want to use to the isapi!
Title: Re:Iframe
Post by: Spht on October 22, 2003, 06:05 PM
Quote from: I3laze on October 22, 2003, 03:27 PM
I would need to set the scroll bar by CSS on the url I am iframe, that is where the problem is. I cannot edit http://botdev.valhallalegends.com/webbot/webchannel.asp?BotName=YourBotName&ChannelName=YourChannelName that, so I need an alternate was since setting the scrollbar color of the body does not affect the iframe.

That page supports the CSS query string.

Example: http://botdev.valhallalegends.com/webbot/webchannel.asp?BotName=YourBotName&ChannelName=YourChannelName&css=http://www.valhallalegends.com/webchannel/sphtbot.css (http://botdev.valhallalegends.com/webbot/webchannel.asp?BotName=YourBotName&ChannelName=YourChannelName&css=http://www.valhallalegends.com/webchannel/sphtbot.css)

Edit - Added URL tag so link is clickable.
Title: Re:Iframe
Post by: I3laze on October 24, 2003, 11:22 AM
The page may support it but I don't think iframe does.
Title: Re:Iframe
Post by: Adron on October 24, 2003, 11:26 AM
Quote from: I3laze on October 24, 2003, 11:22 AM
The page may support it but I don't think iframe does.

You pass that in the url of the iframe.
Title: Re:Iframe
Post by: I3laze on October 25, 2003, 11:35 AM
Can you tell me what I have to add to my webpage to change the iframe scrollbar color?
X_X