Gossamer Forum
Home : Products : DBMan : Customization :

short long mod with target

Quote Reply
short long mod with target
How can i do a short long display of data with targeting the long version to a other frame. my version http://www.inbetrieb.ch/aha/ works just for explorer. What's wrong?

My html.pl file is available at http://www.inbetrieb.ch/html.txt

thanks very much

Michael


Quote Reply
Re: short long mod with target In reply to
Add target="windowname" in the link to the LONG display.

Regards,

Eliot Lee
Quote Reply
Re: short long mod with target In reply to
i already did. this works with explorer but doesn't with navigator.

<td><div class=text><span class=titel>&raquo; </span><a href="$long_url" target="r">$rec{'Title'}</a></div></td>

what can it be?

Quote Reply
Re: short long mod with target In reply to
The problem is that you are not using proper HTML codes...

Change YOUR codes to the following:

Code:

<td><div class="text"><span class="title">»</span> <a href="$long_url" target="newwin">$rec{'Title'}</a></div></td>



Regards,

Eliot Lee
Quote Reply
Re: short long mod with target In reply to
Thank you very much, but it doesn't help.

When i save the html code dbman produces, and do the same, then it works. I made a example for http://www.inbetrieb.ch/aha/index2.html

Thanks Michael

Quote Reply
Re: short long mod with target In reply to
The code you have looks correct, so I can't see why it isn't working. The only thing I can suggest is to name your nav frame as well.

It's just a stab in the dark though.

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: short long mod with target In reply to
Where did you put your frameset coding? Also, please post a link to it or post it here for us to look at.

Chris Whatley

Quote Reply
Re: short long mod with target In reply to
here is my frameset coding...

<HTML>
<HEAD>
<TITLE>zimmermann immobilien</TITLE>
</HEAD>
<FRAMESET COLS="260,*" >
<frame src="http://inbetrieb.ch/cgi-bin/dbman/db.cgi?db=default&uid=default&ID=&Title=&Teaser=&Text=&Land=Ja&Haus=Ja&Date=&keyword=&mh=10&sb=---&so=ascend&view_records=View+Records">
<frame src="right.html" name="r" scrolling="no">
</FRAMESET>
</HTML>


thanks to everybody

Michael
Quote Reply
Re: short long mod with target In reply to
Hi Michael,

This coding is definitely correct. You are using a target="r" code in your html right? The only other thing I can think of that might be a problem is where it is incorporated. Are you putting this coding in a static page to call your database and list all records in the rightside frame named r? Or are you somehow putting this in a DBMan routine to do this? If the answer to the last question is yes, then how are you doing this?

I'll try to duplicate it on my database and let you know my results if you can answer the questions.

Chris



Quote Reply
Re: short long mod with target In reply to
it is the first one. (a static page)

I think it's a problem of dbMan with Netscape.



Quote Reply
Re: short long mod with target In reply to
Hi Micheli,

I jumped on this problem this morning and got it to work. Here's the coding you need:

<HTML>
<HEAD>
<TITLE>effort</TITLE>
</HEAD>
<FRAMESET COLS="260,*" >
<frame src="http://inbetrieb.ch/cgi-bin/dbman/db.cgi?db=default&uid=default&ID=&Title=&Teaser=&Text=&Land=Ja&Haus=Ja&Date=&keyword=&mh=10&sb=---&so=ascend&view_records=View+Records" name="left" scrolling="no">
<frame src="right.html" name="right" scrolling="no">
</FRAMESET>
</HTML>

I don't know why you need to use a frame name that says "right" rather than "r" but you do. The coding above works, but when I changed "right" back to "r" it started opening into a new window again.

Oh well, it's a mystery that I don't necessarily need answered now that it works.

Please be sure to change your targets from "r" to "right" in the source page showing on the left side also.

Chris Whatley

Quote Reply
Re: short long mod with target In reply to
I finaly found the problem! Puuuuuuhhhhhhaaaaa. It was the frameset. It's a strange behavior of Netscape

Version 1 <frame src="http://www.inbetrieb.ch/cgi-bin/dbman/db.cgi?db=default&uid=default&amp

With this version i have to call the site http://www.inbetrieb.ch/aha

Version 2 <frame src="http://inbetrieb.ch/cgi-bin/dbman/db.cgi?db=default&uid=default&amp

With this version i have to call the site without www else it won't work with netscape.


a strange world

Thank you for everybodys help¨

Michael

sorry my strange english