NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: bshields on March 23, 2018, 07:24:23 PM
-
Hi Bruce,
I'm experimenting with the div layout model (and responsiveness) and all is progressing pretty well.
However, I have a small request. I need class access to the top div for a procedure field.
You name its css id %procedure_%FormFieldProcedure_embedded_div, i'd like the %FormFieldClass added as the class for the div.
Obviously, its not urgent as I edited the template myself so i can carry on.
Regards
Bill
-
Hi Bruce,
You are probably aware of this but jquery.nt-browse.js assumes table layouts as it depends upon locating TRs and TDs. So various stuff like edit in place is broken when using div layouts.
Regards
Bill
-
>> Obviously, its not urgent as I edited the template myself so i can carry on.
can you send me your edited TPW file please? That's the easiest way to be sure I'm doing the same thing you are asking...
>> jquery.nt-browse.js assumes table layouts as it depends upon locating TRs and TDs.
I'll look into that - thanks.
cheers
Bruce
-
Hi
I have experienced a similar problem with EIP broken but did not delve into the reason.
Am also using div layouts.
In my case was possible to remove EIP without losing too much functionality
Not sure if possible but to have access and control over all div labels would be fantastic.
The one that got me was that the form DIV's are actually in the table tab, but once I found it worked well.
Attached pic shows the form divs
thanks
Johan
-
Sorry, not labels, class
But I think you know what I meant
Johan
-
Hi Johan,
>> Not sure if possible but to have access and control over all div labels would be fantastic.
The ID attribute for each div - I think that's what you are referring to here? the ID's are often generated in specific ways, so letting you change them is not ideal. However most are "fixed", so you can put
#someid
in your CSS file to attach CSS to it.
In some cases they contain a random value as part of the name - particularly with buttons - but it's pretty obvious when that happens.
You _should_ be able to set the CSS for "any div" - if there are ones you need, that are missing, please let me know.
cheers
Bruce
-
Hi Bruce,
File: NetWeb.TPW
Within the group: #Group(%GenerateFormField)
I'm on NetTalk 10.15, so my line number probably aren't exact, but should be close.
Line 4725 & 4740 - Was:
p_web.DivHeader(lower('%procedure_%FormFieldprocedure_embedded'),,,,,1)
Would Like:
p_web.DivHeader(lower('%procedure_%FormFieldprocedure_embedded'),%FormFieldClass,,,,1)
Regards
Bill
-
done for build 10.20
-
cheers