/    Sign up×
Community /Pin to ProfileBookmark

Frames and Divs

It’s been a long time, but I have a new question for you all.

I’m now taking my Net.Art course at the Uni, the next assignment requires the use of frames, js and layers (divs) in order to generate intereactive collages.

My question is, can we place a frameset inside a div, so that we can apply behaviours (Yes, we’re using Dreamweaver MX 2004) to the divs? Thusly allowing us to target content from a navigation frame into these divs? And no, I will not being using iFrames.

If not, is it possible to target content from one website into a div without the use of server side scripts? Since behaviours require javascript I wouldn’t mind using js to target (ie. write content into) a div.

Any recommendations?

to post a comment
CSS

6 Comments(s)

Copy linkTweet thisAlerts:
@Paul_JrOct 05.2004 — [font=palatino linotype]No, you cannot place a frameset inside a DIV. In fact, you cannot place a frameset inside any element (except, of course, the HTML element).

By “target content from a website into a div” do you mean retrieve source/data from another website and display it in a DIV? I believe you can, as long as the website is yours.[/font]
Copy linkTweet thisAlerts:
@tonyhauthorOct 05.2004 — [i]Originally posted by Paul Jr [/i]

[B][font=palatino linotype]No, you cannot place a frameset inside a DIV. In fact, you cannot place a frameset inside any element (except, of course, the HTML element).[/quote]


Yeah, that's what I thought. I kinda figured that the framset is up high on the hierarchy like body is. That's rather disappointing really.



By “target content from a website into a div” do you mean retrieve source/data from another website and display it in a DIV? I believe you can, as long as the website is yours.[/font] [/B][/QUOTE]
So the next question is how? What would be the actual script (in js, no server side) in order for a link to write the page content into the div?
Copy linkTweet thisAlerts:
@Paul_JrOct 05.2004 — [i]Originally posted by tonyh [/i]

[B]So the next question is how? What would be the actual script (in js, no server side) in order for a link to write the page content into the div? [/B][/QUOTE]

[font=palatino linotype]To be honest, I have no idea; I’m not even completely sure if it’s possible.[/font]
Copy linkTweet thisAlerts:
@tonyhauthorOct 05.2004 — [i]Originally posted by Paul Jr [/i]

[B][font=palatino linotype]To be honest, I have no idea; I’m not even completely sure if it’s possible.[/font] [/B][/QUOTE]

Atlest your being honest ? .

I know how to use a js write, but it only writes directly into the html code. I could use it to write an URL, but I fear it wouldn't actually load the site itself, by write the URL itself as text into the div. And that may be the limitations of using js, it's purely client side, it may not be able to access the site contents on the server.

I know you can use js to simulate a pop up window with a different URL, is there anyway to adapt that to an existing div within the current page?

Is it possible to do this using CSS? As mentioned we are already using behaviours, is it possible to similulate a frame like functionality by changing the display/visibility of multiple layers?
Copy linkTweet thisAlerts:
@Paul_JrOct 05.2004 — [font=palatino linotype]Well I would post a thread in the JS section, you’ll probably get better results there. Good luck with your project. ?[/font]
Copy linkTweet thisAlerts:
@ProtofishOct 08.2004 — edit again: whoops. I was an idiot and missed the part of your post where you said you wouldn't use iframes. but just as a side note, I don't think there is any other way to target external content except for iframes in this scenario.
×

Success!

Help @tonyh spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...