Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 24, 2009, 12:28 PM   #1
theprizefight
macrumors member
 
Join Date: Oct 2006
possible to re-style a frame from external source?

I was wondering if it might be possible to apply my own stylesheet to a frame on one of my web sites that is from an external site.

In other words, I framed in a page from another site, on my web page, but want to apply my own style sheet to that frame. Is this is any way possible?

Thanks very much.
theprizefight is offline   0 Reply With Quote
Old Mar 24, 2009, 12:33 PM   #2
thejadedmonkey
macrumors 604
 
thejadedmonkey's Avatar
 
Join Date: May 2005
Location: Pa
Send a message via AIM to thejadedmonkey
Quote:
Originally Posted by theprizefight View Post
I was wondering if it might be possible to apply my own stylesheet to a frame on one of my web sites that is from an external site.

In other words, I framed in a page from another site, on my web page, but want to apply my own style sheet to that frame. Is this is any way possible?

Thanks very much.
you'd have to use javascipt to inject the new CSS, but that's like an injection attack, and not possible (unless the javascript is being run on the same server, I believe). Since you have access to the source, the easiest thing to do would be to set a PHP variable that, if it's called, uses a different CSS file.
__________________
MacBook Air • 17" MacBook Pro • iPod Nano • Apple TV
Custom Windows 7 Desktop • Surface RT • WP7
"Good judgment comes from experience,
experience comes from bad judgment."
- Mulla Nasrudin
thejadedmonkey is online now   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How to record music on iPad Garageband from external source bunger iPad 18 May 10, 2011 02:11 PM
Is it possible to load Windows installation from an external DVD drive ? phan Windows, Linux & others on the Mac 2 Oct 18, 2007 09:34 PM
Possible to install/run games from an external HD? MikeyTree Mac and PC Games 5 Jun 21, 2007 12:55 AM
Is it possible to permanently delete files from internal/external disks/volumes? applefan Macintosh Computers 3 Dec 1, 2003 12:11 AM
Is it possible to Boot 10.2 from an External Firewire CD? jbheffernan Mac Help/Tips 8 Oct 2, 2002 07:04 PM


All times are GMT -5. The time now is 08:38 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC