• Welcome to Valhalla Legends Archive.
 
Main Menu

Iframe

Started by I3laze, October 21, 2003, 09:18 PM

Previous topic - Next topic

I3laze

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?

MrRaza

search on google for, 'HTML "IFrame"'

Skywing

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.

hismajesty

You could restrict scrolling altogether.

I3laze

#4
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.

Adron

Which is why you pass in the css you want to use to the isapi!

Spht

#6
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

Edit - Added URL tag so link is clickable.

I3laze

The page may support it but I don't think iframe does.

Adron

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.

I3laze

#9
Can you tell me what I have to add to my webpage to change the iframe scrollbar color?
X_X