Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help Forums Windows Startup Programs Database Virus, Spyware, and Malware Removal Guides Computer Tutorials Uninstall Database File Database Computer Glossary Computer Resources
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

> iFrame and Content management...
jacoblloyd
post Jun 10 2009, 01:54 PM
Post #1


Member
**

Group: Members
Posts: 139
Joined: 23-April 08
From: Leicester
Member No.: 204,918



Hello!

I am again working on a brand new project!

On my website, to help save loading time I have inserted a iframe into it, the iFrame has the name of "mainframe"

The iFrame is coded into my main content box which is in the middle of my website, I have a expandable box on the right of my website, and sadly when a user clicks a news article it opens in a new window

What I want is the news article to open in the iFrame "mainframe"

The content management i am using is Cutenews

If theres another one you recommend which is easier, more efficient with iFrames please advise me

Thanks
Jake


--------------------
Much Appreciated
Jake
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 5)
groovicus
post Jun 10 2009, 07:42 PM
Post #2


Hail Groovicus!
******

Group: Site Admin
Posts: 7,961
Joined: 5-June 04
From: Centerville, SD
Member No.: 689



Did you set the target for the link? Something like <href="random.html" target="mainframe">
This might be helpful.


--------------------
Never Argue With Stupid People



Microsoft Senior Student Partner
Go to the top of the page
 
+Quote Post
JJ2K
post Jun 18 2009, 12:42 PM
Post #3


Member
**

Group: Members
Posts: 134
Joined: 23-January 09
Member No.: 286,225



I wouldn't bother with Iframes personally..

For navigation around pages i'd just have normal links which open in the same window
and if I wanted to load some things without page reload say comment pages then i'd use AJAX

All your pages would usually have a common header and footer and sidebars anyway so it wouldn't be reloading these.
Go to the top of the page
 
+Quote Post
groovicus
post Jun 18 2009, 02:41 PM
Post #4


Hail Groovicus!
******

Group: Site Admin
Posts: 7,961
Joined: 5-June 04
From: Centerville, SD
Member No.: 689



QUOTE
I wouldn't bother with Iframes personally..


Of course, that wasn't the question, was it? I wouldn't bother answering posts in which I had nothing to add....personally. dry.gif


--------------------
Never Argue With Stupid People



Microsoft Senior Student Partner
Go to the top of the page
 
+Quote Post
JJ2K
post Jun 18 2009, 03:14 PM
Post #5


Member
**

Group: Members
Posts: 134
Joined: 23-January 09
Member No.: 286,225



Wouldn't it be better to push someone away from using something which you know is a whole heap of crap (iFrames) rather than give them guidence on how to use them?

Go to the top of the page
 
+Quote Post
groovicus
post Jun 18 2009, 03:41 PM
Post #6


Hail Groovicus!
******

Group: Site Admin
Posts: 7,961
Joined: 5-June 04
From: Centerville, SD
Member No.: 689



Not unless you are actually taking the time to explain why. Merely stating "I wouldn't bother with IFrames" wouldn't compell me to change my mind at all, especially since there are completely valid uses for IFrames, the first reason being that AJAX is hard for beginners to get their heads around. Second reason being that IFrames can make requests to other domains, whereas AJAX can only call the domain from which the script was loaded.

See? Now at least the user (and anybody else that happens to search out this thread) has information on which they can base a decision. smile.gif
QUOTE
using something which you know is a whole heap of crap
Just because you have an opinion on something does not make it right Explain your opinion.


--------------------
Never Argue With Stupid People



Microsoft Senior Student Partner
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 21st November 2009 - 09:19 PM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Virus Removal Guides

© 2003-2009 All Rights Reserved Bleeping Computer LLC.