Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > asp.net and divs

Reply
Thread Tools

asp.net and divs

 
 
mikieg_99
Guest
Posts: n/a
 
      07-29-2004
I'd like to build a really basic site using no tables, only divs.

Obviously this will rely on CSS for formatting and positioning.

I have a left-hand navigation div. Is it possible to target a link in this
div into the main content div?

Thanks in advance!
Mike

 
Reply With Quote
 
 
 
 
AsyaHubby
Guest
Posts: n/a
 
      07-29-2004
Yes if inside the main content is an Iframe

"mikieg_99" <> wrote in message
news: lkaboutsoftware.com...
> I'd like to build a really basic site using no tables, only divs.
>
> Obviously this will rely on CSS for formatting and positioning.
>
> I have a left-hand navigation div. Is it possible to target a link in this
> div into the main content div?
>
> Thanks in advance!
> Mike
>



 
Reply With Quote
 
 
 
 
mikieg_99
Guest
Posts: n/a
 
      07-29-2004
Thanks Asya...
I've been told that iframes are evil and will mess up all cross-browser
compatibility... they are kinda cool, but are they generally good
practice?

Mike

 
Reply With Quote
 
Kevin Spencer
Guest
Posts: n/a
 
      07-29-2004
As long as the divs are on the same page, why would you target a link in one
to another? Are you talking about anchors?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"mikieg_99" <> wrote in message
news: lkaboutsoftware.com...
> I'd like to build a really basic site using no tables, only divs.
>
> Obviously this will rely on CSS for formatting and positioning.
>
> I have a left-hand navigation div. Is it possible to target a link in this
> div into the main content div?
>
> Thanks in advance!
> Mike
>



 
Reply With Quote
 
AsyaHubby
Guest
Posts: n/a
 
      07-29-2004
Cross Browser not an issue for me, I work for an IE only house so I dont
have to worry.
You can always use clientside webservice call and write the return string to
the content div if you dont want to use IFrames??

"mikieg_99" <> wrote in message
news: lkaboutsoftware.com...
> Thanks Asya...
> I've been told that iframes are evil and will mess up all cross-browser
> compatibility... they are kinda cool, but are they generally good
> practice?
>
> Mike
>



 
Reply With Quote
 
mikieg_99
Guest
Posts: n/a
 
      07-30-2004
Hi Kevin,
Thanks for the response.

No, I actually want to have a constant navigation pane on the left.

I then want to click on one of these nav links and new content appears in
the main content div.

Essentially, I want to be able to treat a div exactly like an iframe.

Apologies if this is a really basic thing... newbie here!

Thanks in advance!
Mike

 
Reply With Quote
 
Kevin Spencer
Guest
Posts: n/a
 
      07-30-2004
Hi Mike,

I see. Well, since the page itself is not changing, it will either have to
use JavaScript on the client side to change the content in the divs, or it
will have to do a PostBack. However, in neither case will a hyperlink per se
be needed. In other words, as you're using Divs, and not iFrames or Frames,
you're not talking about changing the content in another browser instance.
You're talking about changing the same page in the same browser instance.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"mikieg_99" <> wrote in message
news: lkaboutsoftware.com...
> Hi Kevin,
> Thanks for the response.
>
> No, I actually want to have a constant navigation pane on the left.
>
> I then want to click on one of these nav links and new content appears in
> the main content div.
>
> Essentially, I want to be able to treat a div exactly like an iframe.
>
> Apologies if this is a really basic thing... newbie here!
>
> Thanks in advance!
> Mike
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
swapping divs -- when divs NOT positioned absolutely.. maya Javascript 4 11-16-2007 05:11 PM
Managing divs within divs.... rich HTML 0 02-02-2006 07:38 PM
DIVs and SPANs Don Huan ASP .Net 3 05-08-2005 05:57 PM
CSS, divs and borders Malcolm Collett HTML 3 11-13-2003 06:58 PM
Re: DIVs and overflow scroll bars S. Justin Gengo ASP .Net 0 07-18-2003 02:18 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57