Tables as alternatives to frames?
Hi all,
I'm new to Dreamweaver, but have a pretty solid knowledge of HTML/CSS. I used to design websites with frames (I know, but this was almost 10 years ago and I was 17 and didn't know any better). Forgive me if this is a stupid question. I'm actually re-vamping a website that already exists. It currently has tables, but when you click on a link, it loads an entirely new page with the header/navigation bars/images/etc. This seems like it takes some time to load and gets to be cumbersome, at times.
Is there a way to treat the tables like frames? i.e. click on a link and the content loads into the main section of the table, without re-loading all of the other stuff? Here is a link to the website: http://http://entomology.ifas.ufl.edu/liburd/FruitnVegIPM/
As you can see, it is kind of 'blah', so I'm hoping to give it a facelift. When I click on any of the links in the left navigation column, when the page is loading it seems distorted for a few seconds and then goes to what it is supposed to look like. I have this problem in IE and Firefox (both on Windows and Mac). My goal is to have the simplest code possible (so if someone takes over after me they won't cry) and a simple, clean layout that loads quickly.
I hope some of this makes sense...thanks for your help!
Here is a link to the website: http://http://entomology.ifas.ufl.edu/liburd/FruitnVegIPM/
Bad link.
Should be
http://entomology.ifas.ufl.edu/liburd/FruitnVegIPM/
As you can see, it is kind of 'blah', so I'm hoping to give it a facelift. When I click on any of the links in the left navigation column, when the page is loading it seems distorted for a few seconds and then goes to what it is supposed to look like. I have this problem in IE and Firefox (both on Windows and Mac).
That's standard behaviour for a table based site like this.
I suggest dispensing with this 1990s code and layout altogether since it's based on an archaic table layout with old, creaky HTML formatting which isn't the easiest to maintain or edit.
Perhaps purchase a modern CSS layout from a 3rd party vendor as a starting point for a learning tool to see how to do things well with clean, efficient code in today's web environment.
e.g. http://www.projectseven.com/products/templates/index.htm
Similar Messages
-
Break table row across multiple frames?
Hi
I would know wether is possible to split a single table row across serverla frames/pages.
I´m using InDesign CS5 and when I try to import a big table from word documments (by using de app or by scripting), if a row is bigger than the textFrame, a blank page is generated with the overflow simbol.
The only way to see that table is by enlarging the textFrame.
I´ve been reading about this problem, and some news in 2004 reported it was a problem wich will be solved in next releases.
Is there any way to work arround?
One option is to split de row in several small rows, but I think the proper solution would be to let the row jump to the next TextFrame (just like word does)
Thanks in advanceI can show you a real example.
http://www.xunta.es/dog/Publicados/2011/20110615/AnuncioC3F1-140611-3147_gl.pdf
In page 14984 the row with the text "Coruña" span across two pages. Well, in this example, what we did was to convert the table in images. Then the images were put inside each page in InDesign.
This cell is too big to fit in a frameText and it was shown as empty.
Other option would be to split the row before the imporation. In this way, InDesign would, automatically jump to the next page.
The question was if there was any configuration option to implement all this solutions (change the table or convert it to text) without change the table structure.
Any way, thansk again. -
How to copy a table from one text frame to another...
Is there a way to copy a table from one text frame to another? I'm using JavaScript. The following will move a table from one text frame to another, but I need to copy.
var srcFrame = document.textFrames.item("section-template");
var dstFrame = document.textFrames.item("test");
srcFrame.characters[0].move(LocationOptions.before, dstFrame.insertionPoints[0]);
Thanks,
Mike-Hi Bhupinder,
According to your description, you want to copy a table with Primary keys from one database to another database.
As per my understanding, I think the best method is use Transfer SQL Server Objects Task in SQL Server Integration Services. The Transfer SQL Server Objects task transfers one or more types of objects in a SQL Server database between instances of SQL Server.
Server roles, roles, and users from the specified database can be copied, as well as the permissions for the transferred objects. Indexes, Triggers, Full-text indexes, Primary keys, Foreign keys can also be copied.
To use the Transfer SQL Server Objects Task, we should create a SQL Server Integration Services Project in SQL Server Data Tools, then drag a Transfer SQL Server Objects Task to Control Flow pane. Specify SourceConnection, SourceDatabase, DestinationConnection
and DestinationDatabase for the Connection, select the table in the ObjectsToCopy category, then change CopyPrimaryKeys to True and the other corresponding properties in the task.
References:
Transfer SQL Server Objects Task
Transfer SQL Server Objects Task in SSIS 2008 R2 With Example
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Export tables for certain time frame
Hi All,
Can I export tables for certain time frame? Or from last time I exported those tables? All I want is to have all the changs of the tables from last time I did export, then I can import this delta portion into another instance, thus complete the data replication.
Thanks,
Mikeuser550903 wrote:
Hi All,
Can I export tables for certain time frame? Or from last time I exported those tables? All I want is to have all the changs of the tables from last time I did export, then I can import this delta portion into another instance, thus complete the data replication.
Thanks,
Mikehow would export determine which are the new rows?
how would export determine which rows have been updated? -
Tables: Fit Content to Frame
(InDesign CS2)
Since "fit frame to content" is available when you select a frame that contains a table, but "fit content to frame" is not...I'm assuming it's not possible to do that.
I understand that a table can lie well within or outside of its frame, and that can be a nice thing. However, what if I want to make sure the boundaries of the actual table, left to right, take up an EXACT width? Seems like making the frame the exact width I need and then having "fit content to frame" available is what I need.
Am I missing something? Does anyone have a good workaround?Lisa,
This script will do the job (although the interface is a bit primitive. Just type a number in the units you're using for the horizontal ruler. It displays the "before width" and you can then type the number you want instead. It distributes the extra or the deficit across the existing columns of the table.
//DESCRIPTION: Set Width of Table
// by Dave Saunders
if ((app.documents.length == 0) || (app.selection.length == 0)) { beep() }
aDoc = app.activeDocument;
aSel = app.selection[0];
aTable = findTable(aSel);
tWidth = prompt("Table width", String(aTable.width));
if ((tWidth == null) || (tWidth == "")) { exit() }
n = aTable.columnCount;
w = aTable.width;
for (j = n-1; j >= 0; j--) {
aTable.columns[j].width = aTable.columns[j].width * (tWidth)/w;
function findTable(obj) {
if (obj.constructor.name == "Table") { return obj }
while (obj.constructor.name != "Table") {
obj = obj.parent;
if (obj.constructor.name == "Application") {
errorExit("Can't locate table");
return obj;
function errorExit(message) {
if (arguments.length > 0) {
if (app.version != 3) { beep() } // CS2 includes beep() function.
alert(message);
exit(); // CS exits with a beep; CS2 exits silently.
To use the script, copy and paste to ExtendScript Toolkit and save with an appropriate name in the form YourName.jsx in the Scripts folder of the Presets folder of your InDesign CS2 folder (you could put it in a subfolder if you wish). Then to run the script, set-up the appropriate initial conditions (click with the text tool in the table) and double-click the script's name in the Scripts palette.
Dave -
Table Design "alternating" only in readonly tables? (NW 7.10 SP7)
Hello,
I just found out, that style "alternating" is only applied to a table, when the table is set to read only. Should it be this way?? I see no reason for that behaviour.
Bug or feature in Netweaver 7.10 SP7? Same behaviour is shown already in Developer Studio, Design of table changes only if table is read only.
FrankHi
Please refer the below forum:
Problem with table design in 2004s
Re: Reg: Table's Design Property Alternating
Thanks
Susmita -
Display the background of table row alternatively and hiding cell border
Hi all,
I am trying to display the background of the table using different color alternative and at same time I need to hide the border of all cells.
What I found in <af:table> is using bandingInterval="1" banding="row", but how can I set the background color? And how to hide the cell border?
Or if there is a thing like row index so that I can mod it like rowIndex%2==0 in every column to determine the inlineStyle?
Thanks.
Shawn<af:table value="..." var="row" varStatus="status">
<af:column inlineStyle="#{status.index % 2 > 0.5 ? 'border:none;' : ''}">
</af:column>
</af:table>For some reason, EL operation always seems to return a double, so the condition has to be defined with that in mind.
Regards,
~ Simon -
Tables inside overset text frames
Hi everybody!
Im trying to write a script to set the width of all tables in a document equal to its parent text frame, I was succesful, but
the tables that are overflowed do not get resized. I have only come up with a way to find if there is an overflowed text frame
but not to find and overflowed text frame contents. PLS HELP!
heres my code:
//resizes tables
var myTextFrames = app.activeDocument.textFrames.everyItem();
var myTables = myTextFrames.tables.everyItem().getElements();
for (var i = 0; i < myTables.length; i++){
var myTextFrame = myTables[i].parent;
var myWidth = myTextFrame.visibleBounds[3] - myTextFrame.visibleBounds[1];
myTables[i].width = myWidth;
//finds a textframe with overset text
var myOverset = app.activeDocument.textFrames.everyItem().getElements();
for(var x = 0; x < myOverset.length; x++){
if(myOverset[x].overflows == true){
alert("There is overset text")@Kai – cool. Maybe just a little thing:
You suppose that the first text frame of a given story has the same width as the one with the overset (holding a table in the overflow).
So, if we have the following situation:
A table in the overflow will get too wide after running your script:
Instead of the first text frame in the story we could address the last one directly with:
else if ( container.constructor.name == "Story" ) {
var myTextFrame = container.textContainers[0].endTextFrame;
And the result will be:
The property endTextFrame is in the class of TextFrame.
We could also have written:
else if ( container.constructor.name == "Story" ) {
var myTextFrame = container.textContainers[container.textContainers.length-1];
Uwe -
HTML Table with alternative row color, Using SQL XML
Hi,
I want to send out an email and the email body contains a table with data. I am using SQL to create the HTML table and to populate values inside the table. Below is the code I have so far
DECLARE
@HTML NVARCHAR(MAX)
IF (SELECT
COUNT(*)
from Employee])
!= 0
Begin
SET
@HTML =
'<html><style>
tr:nth-of-type(even) {
background-color:#ccc;
</style><body><h1 style="font-family:Tahoma; font-size:12px;">Hi,</h1>'
+
'Below is the report'+
'<br></br>'+
'<table border="1" width="100%" style="border:1px solid #77bfe4;font-family:Tahoma; font-weight:normal; font-size:12px;" cellpadding="4" cellspacing="0">'
+
'<tr bgcolor="yellow" style="font-family:Tahoma; font-weight:bold; font-size:12px;"><td colspan="2"><center>Report</center></td></tr>'+
'<tr bgcolor="Blue" style="font-family:Tahoma; font-weight:bold; font-size:12px;"><td><center>Col1</center></td><td><center>col2</center></td></tr>'
+
CAST((
Select
td =
col1, '',
td
= col2
, '' from
(Select ID as col1, Emp as Col2
from
Employee) E
FOR XML
PATH('tr'),
TYPE
AS NVARCHAR(MAX))
+ '</table><br>Thank you</br></body></html>'
END
select
ISNULL(@HTML,'NoEmail')
But I am having trouble generating alternative colors for each row (tr:nth-of-type(odd) is not working for me)
Below is what the table should look like
Please help.
Thank you for your help in advance.Thank you for the response, I got the code to work.
DECLARE @HTML NVARCHAR(MAX) ;
IF (SELECT COUNT(*) from Employee]) != 0
Begin
SET @HTML = '<h1 style="font-family:Tahoma; font-size:12px;">Hi,</h1>' +
'Below is the report'+
'<br></br>'+
'<table border="1" width="100%" style="border:1px solid #77bfe4;font-family:Tahoma; font-weight:normal; font-size:12px;" cellpadding="4" cellspacing="0">' +
'<tr bgcolor="yellow" style="font-family:Tahoma; font-weight:bold; font-size:12px;"><td colspan="2"><center>Report</center></td></tr>'+
'<tr bgcolor="Blue" style="font-family:Tahoma; font-weight:bold; font-size:12px;"><td><center>Col1</center></td><td><center>col2</center></td></tr>' +
CAST(( SELECT CASE when (ROW_NUMBER() over (Order by Col1 DESC))%2 = 0 then '#E0E0E0' else 'white' END as "@bgcolor", '',
td = col1, '',
td = col2 , '' from
(Select ID as col1, Emp as Col2
from Employee) E
FOR XML PATH('tr'), TYPE
) AS NVARCHAR(MAX)) + '</table><br>Thank you</br></body></html>'
END
select ISNULL(@HTML,'NoEmail') -
Table for alternative unit of measure
HI
I have created a material whose Basic UOM is Kg
I have maintained alternative unit of measure as TON and maintained the relationship 1 ton = 1000 Kg in material master -- additional data -
units of measure.
I want to capture the data for creation of report ....In which table this data is stored ?
Thanks
SaraMARM
-
SAP SRM table for alternative approver
Dear all,
Can you please let me know which table in SAP SRM stores the alternative approver which is assigned in aprrover's inbox in SRM portal?
Regards
Arindam
Edited by: Arindam Ganguly on Oct 19, 2011 11:40 AMHi,
To see all the related tables for SC,goto trascn BBP_PD.
Enter the object typeas BUS2121(for SC).You will see the list of all SC's created in the system.Select any one and you can see the table(Header as well as item) names
Similarly you can see the tables for other documents which are created in the system like PO,Bid etc.
BR,
Disha.
Do reward points for useful answers. -
Does CF offer an alternative to frames ?
I have a web application where we need an illustration to be
fixed at the top of the screen, and then row after row of database
results, which offer information which references the drawing at
the top of the screen.
My boss has asked if there's any way to fix this illustration
to the top of the screen and scroll the database results in a
window. Obviously FRAMES are not the best thing to use, because of
useability issues. Also, <DIV> scrolling is a bit hit and
miss
I was wondering if Coldfusion offers anything to solve this
problem ? If not, I'd be open to anyone's ideas ?paross1 wrote:
> CFGRID is nice for displaying database results and
allows you to control how much screen real estate is consumed.
>
> Phil
I just wanted to point out, if it matters to the original
poster, that
under the hood <CFGrid...> and similar CFML is just a
short cut that
will deliver standard HTML, JavaScript and|or Flash.
The point of this is if the requirement is NOT to use divs
for example.
Then the HTML|DHTML form of CFGrid is going to deliver divs
and
JavaScript. If the point is to use well tested code that
works across a
wide range of browsers, then CFGrid and similar tags are very
nice. -
Performance Problem in using the BSEG table - Required alternative
Hi All,
Pl go thru the below program.
I am unable to change this code
It is having 46 performance errors
Pls check the code and suggest.
*To get Pmt Doc No & Posting Date
SELECT SINGLE
BELNR
ZFBDT
FROM BSEG
INTO (WA_ZFT011_FIFO-PAY_DOC_NO, WA_ZFT011_FIFO-POST_DATE)
WHERE AUGBL = W_CLR_DOC
AND AUGDT = WA_ZFT011_FIFO-CLR_DATE
AND BSCHL = '15'.
IF SY-SUBRC <> 0.
SELECT SINGLE
BELNR
ZFBDT
FROM BSEG
INTO (WA_ZFT011_FIFO-PAY_DOC_NO, WA_ZFT011_FIFO-POST_DATE)
WHERE AUGBL = W_CLR_DOC
AND AUGDT = WA_ZFT011_FIFO-CLR_DATE
AND BSCHL = '11'.
The above code is having performance error "NO field of a table Index in WHERE"
The same error repeated for 45 select statements and for all statements the "BSEG" table is used for selecting data.
But creating a secondary index on BSEG table columns will not be possible
So pls suggest me accordingly
Awaits for the Reply.
P KamalHi,
Perhaps my post here: Re: BSEG table performance issues might help you.
Regards, Gerd Rother -
Too many information in 1 table line - alternative solution ?
Hi,
Just join today since i am new to Adobe LifeCycle.
I am using Adobe Life Cycle 8.1.2
As the title explains, currently i am designing a interactive adobe form (orientation: Portrait) which has a table with "add/remove" button. The "add/remove" works perfect (i can add line or remove line from the table).
The problem is I have too many information (read: columns) in 1 table line. In results:
1. Table line is not sufficient to display all information, OR
2. I can squeeze all columns into 1 line and play around with smaller font size. But the form looks ugly.
Has anyone encountered this kind of situation before ?
Can you share your design (if possible attached the form) for similar situation ?
Any bright input/idea are most welcomed.
Thanks In Advance !
Note:
1. Landscape is NOT an option.
2. I still want to have "add/remove" functionality.Hi,
Suppose you have set the the no of columns to 6 for any row . 1st row has 6 columns. 2nd row has 6 columns intially. But you can merge some of the columns to make it one. Selects the columns you want to merge.Then Right Click -> Merge cells. But this may lead to another problem about the caption of the columns. But if it's text field or same type of field you can specify the option to set the caption as on top.
Thanks,
Bibhu. -
Footers, tables, secondary navbars or frames, different sites etc.
Hey all,
I moved completely away from Windows years ago to Macs and Linux except for web page building. I continued to use Frontpage because I understood it and it worked for my level of need and capability. Today I began attacking an overdue site for a non-profit foundation I run and decided to go with iWeb. Initial response is that this is awesome. But I have reached the point where I need help.
Footers
It appears that every page has its own, unique footer. Yuck, what a lot of work and multiplication of effort since I want each page's footer to be identical. Moreover, if I change something, like a copyright notice, I don't want to have to copy /paste to every single page. Plus I cannot insert a text box into a footer. I saw a post about using a shape and will give that a try but back to the root question, is there a master footer element somewhere?
Tables
On a couple of pages, I need the capability to have tables. While Keynote and Pages support tables, iWeb doesn't seem to do this. Have I missed this somewhere?
Secondary Navbars
As many other posters have already noted, it's bad form to clutter up your navbar with too much stuff. I've been creating pages and using hyperlinks from "leader" pages to get there, but what I would really like to do is to create self-populating navbars. The site organizer doesn't appear to do much other than page order. Only blog pages support child pages. Am I missing a key navigational capability here?
The site organizer is confusing me completely. Logically one would be able to manage multiple distinct and unique sites from a site organizer, but this site organizer seems to treat all the sites as if they are from one master site. I read a post from an innovative fellow who used this to handle the nav problem above by using a main site and a bunch of subsites, but what do you do if you don't want all the pages published to the same place?
The help system and online help, umm, inhale rapidly.
Thanks!
Ross
Powerbook G4 17 Mac OS X (10.4.7) PowerMac Dual 2.3Hi Kyn,
Thanks for the helpful guidance. Great tip about the CMD-drag, I had no idea and it will make setting the footers easier. Once done on one page I may be able to bulk select copy paste for the other pages.
Thank you for saving me time regarding tables. I see you can publish to a file which renders html and iWeb is supposed to be W3C compliant so maybe I could create the table as html and paste it in, but I think that would only work in a non .Mac published environment (true in this case) but every alteration and publish to folder would overwrite it.
I think I can create the secondary navbars with a text box, but it won't be automatic.
Still confused by the sites thing, although I saw a link somewhere on how to have multiple unique sites using some Finder manipulations. Will have to look that up later. I own the Adobe product (came as part of a suite) but haven't the time or energy to learn it right now.
Thanks again,
Ross
Powerbook G4 17 Mac OS X (10.4.7) PowerMac Dual 2.3
Maybe you are looking for
-
Errors when using the Call statement for MS SQL Server
I've tried executing a Stored Procedure using the Call method of Portal 2 Go. But it gets an internal error b/c of it. Any Ideas why and how to resolve?
-
Help: How to make the top level navigation into vertical at the left panel
We have a need to change the top-level and 2nd-level navigation bars (horizontal) into the nodes on the left navigation panel (vertical). We find some way but it is a very extensive job. Is there any way to do it quickly? Thanks a lot! Points guarant
-
Hi, I love my BB and recently updated to the latest version of the Desktop Management Software. It all looks good and it is visually quite a significant upgrade...but the Media Sync functionality unusable. I am not particularly fond of the new way to
-
Changed bank card. Got charged $24.99 from iTunes for a prior purchase that would not go thru due to invalid security code. When put new information on iTunes payment . iTunes charged my account without me confirming order and I didn't even receiv
-
Plez help me! Can't upgrade 3g to OS 4 with iTunes 10
Very frustrated and I have tried everything!! I have read and read on the forums until my eyes are bleeding. LOL