Valhalla Legends Forums Archive | General Discussion | Iframe

AuthorMessageTime
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?
October 22, 2003, 2:18 AM
MrRaza
search on google for, 'HTML "IFrame"'
October 22, 2003, 11:37 AM
Skywing
[quote author=I3laze link=board=2;threadid=3188;start=0#msg24956 date=1066789117]
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?
[/quote]
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.
October 22, 2003, 12:41 PM
hismajesty
You could restrict scrolling altogether.
October 22, 2003, 6:39 PM
I3laze
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.
October 22, 2003, 8:27 PM
Adron
Which is why you pass in the css you want to use to the isapi!
October 22, 2003, 10:47 PM
Spht
[quote author=I3laze link=board=2;threadid=3188;start=0#msg25037 date=1066854421]
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.
[/quote]

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.
October 22, 2003, 11:05 PM
I3laze
The page may support it but I don't think iframe does.
October 24, 2003, 4:22 PM
Adron
[quote author=I3laze link=board=2;threadid=3188;start=0#msg25370 date=1067012578]
The page may support it but I don't think iframe does.
[/quote]

You pass that in the url of the iframe.
October 24, 2003, 4:26 PM
I3laze
Can you tell me what I have to add to my webpage to change the iframe scrollbar color?
X_X
October 25, 2003, 4:35 PM

Search