CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 A Challenge

Print topic Send  topic

Author Message
Karim
Posted: 04/25/2003, 4:51 AM

I am deciding whether to continue to use CCS2 for a project or go with some other software. The decision will be determined if anyone has a solution.

The problem:
I'm trying to place a tab image menu on a page and when you click on a tab the image changes color and below the tabs the page changes using INCLUDES. ALSO, I would like to send an ID to the INCLUDE page, I think if I made the ID as an application session I don't not need to deal with transferring it from one page to another?

Note: There are 14 tabs, each page is a different form.


example of tab changes:
http://www.visualasp.com/vcdl/tabview/tabview_keeping_q...PRODUCTID=ABCDE

http://www.visualasp.com/vcdl/tabview/tabview_posting_forms.asp?TB=1

Thanks,
Karim
hamilton
Posted: 04/25/2003, 7:27 AM

Karim,

It's funny that you should attempt to gauge whether to go with ccs2 becauase of a lack of understanding of DHTML/HTML. Because your issue has nothing to do with CCS but rather with DHTML methodologies.

One way to do what you want to do is to place an IFrame into the page.

<iframe name="appIFrame" src="InitialLoadingPage.asp" width="100%" marginwidth="0" marginheight="0" frameborder="0"></iframe>

On the tab, set your href as you normally would but set target="appIFrame"

When the user clicks your tab, the data will load in the "appIFrame"
Karim
Posted: 04/25/2003, 9:00 AM

Hamilton,
Don't get me wrong here I do like CCS and would like to implement it with this project.

But my questions was how would I use CCS to implement my problem.

For example, if I use iFrames where do I place the code? Show I go directly into HTML and add the code there?

Is there another way I can do this?

Thanks,
Karim
EMG
Posted: 04/25/2003, 9:38 AM

I have implemented this idea by making my tab menu an include page and including it on every page that has a related tab. Pass the tab id in the querystring to highlight the selected tab.
DaveRexel
Posted: 04/25/2003, 1:08 PM

Hi Karim

RonB has written a very good article in using I-FRAMEs in CCS.

http://www.rexdesign.com/ccs/kb.php?category_id=39&lang...d=1&event_id=49

Greetings
Dave
Karim
Posted: 04/28/2003, 7:00 AM

Thanks, I will take a look

Karim
Hamilton
Posted: 04/30/2003, 12:57 PM

Karim,

Yes, you would place the IFrame code directly in the HTML of the page.

Like this....

<table width="100%" border="0" cellpadding="2" cellspacing="0" class="text">
<tr>
<td width="100%" valign="top" class="BlueNoteDataTD">
<iframe name="MYiFrame" src="./pt_enhance_public_view.asp" width="100%" height="250" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</td>
</tr>
</table>

Then you can place a button like the one below which uses window.frames[] or
use an existing link... just make certain it says target="MYiFrame"

<INPUT TYPE="button" style="WIDTH: 140px; HEIGHT: 22px" CLASS="BlueNoteButton" VALUE="View Bugs & Issues" name="btnViewBugsIssues" class="BlueNoteButton" onClick="window.frames['MYiFrame'].location='PT_Bugs_Public_view.asp'" onMouseOver="window.status=''; return true" onMouseOut="window.status=''; return true">

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.