Read more script/extension needed.
I need an accessible "read more" script which when clicked
opens the 2nd and subsequent paras. I would prefer not to have a
page refresh but the paras just unfold. I want to keep the hidden
text in the html page (not in the js file).
I use dreamweaver 8 and want to apply this code in several
places on the website.
Thanks for your time.
http://www.projectseven.com/extensions/info/swapclass/
above is an excellent extension for this, and it comes with
an extensive
tutorial.
k
"ROGM" <[email protected]> wrote in message
news:f5b82k$pel$[email protected]..
>I need an accessible "read more" script which when
clicked opens the 2nd
>and
> subsequent paras. I would prefer not to have a page
refresh but the paras
> just
> unfold. I want to keep the hidden text in the html page
(not in the js
> file).
>
> I use dreamweaver 8 and want to apply this code in
several places on the
> website.
>
> Thanks for your time.
>
Similar Messages
-
Hi, I need help with my iphone four bought in England but I live in Italy, I upgraded IOS six and now I can not read more than the Italian card, how can I contact a service center via email?
Only the carrier it is locked to can authorize unlocking it. Sounds like the phone was hacked to unlock it originally. Find out what carrier it is locked to, and look up their contact information using google or the search engine of your choice.
-
When I read a pdf document using Safari on my IPad I'm unable to read more than one page of a file. A padlock icon is locked on the tab. Please help.
Hi snoreaustralia,
It sounds like you just need to associate the PDF filename extension with Acrobat, rather than Preview. Please see this document from the Microsoft Help for instructions on choosing the default program for opening a particular file type (in your case, PDF): Change which programs Windows uses by default - Windows Help
Best,
Sara -
Show the Read more link in the list view webpart using Client side Rendering
Hi,
I have a share point list name as Team.It contains two columns like Role(single line of text) and Name( people and picker).
I want the display the list view webpart like below format using JS Link/Client side rendering concept.
If list contains more than 3 items (display like this)
>TeamMemberName1
>TeamMemberName2
>TeamMemberName3
Readmore... (Read more link should expand all the team members)
If list contains more than 3 items (display like this)
>TeamMemberName1
>TeamMemberName2
>TeamMemberName3
Could you please provide the code.It is very urgent for me.
Thanks for the help!!!(function () {
debugger;
//Create our Namespace object to avoid polluting the global namespace
var pfh = pfh || {};
//Define our Header Render pattern
pfh.renderHeader = function (ctx) {
var headerHTML = "<ul>";
return headerHTML;
pfh.renderFooter = function (ctx) {
//Define any footer content here.
var footerHTML = "</ul>";
return footerHTML;
pfh.CustomItem = function (ctx) {
var itemHTML = "<li>" + ctx.CurrentItem.TeamMemberName[0].title; + "</li>";
return itemHTML;
//Define any code/function that needs to be run AFTER the page has been completed and the DOM is complete.
pfh.PostRenderCallback = function (ctx) {
//Define the function that will register our Override with SharePoint.
pfh.RegisterTemplateOverride = function () {
var overrideCtx = {};
overrideCtx.Templates = {};
overrideCtx.Templates.Header = pfh.renderHeader;
overrideCtx.Templates.Footer = pfh.renderFooter;
overrideCtx.Templates.Item = pfh.CustomItem;
overrideCtx.onPostRender = [pfh.PostRenderCallback(ctx)];
overrideCtx.BaseViewID = 98; //Note: We're using BaseView ID 99 to match our override below
overrideCtx.ListTemplateType = 100;
SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCtx);
//Now we load in our override to ensure that this Override is only applied to the intended ListView
ExecuteOrDelayUntilScriptLoaded(function () {
var OldRenderListView = RenderListView;
RenderListView = function (ctx, webPartID) {
if (ctx.ListTitle == "Test") {
ctx.BaseViewID = 98;
OldRenderListView(ctx, webPartID)
}, 'ClientTemplates.js');
//Register for MDS enabled site otherwise the display template doesn't work on refresh
//Note: The ~sitecollection tokens cannot be used here!
RegisterModuleInit("/_catalogs/masterpage/Display Templates/csr_ovr_RenderListTemplate_Fixed.js", pfh.RegisterTemplateOverride); // CSR-override for MDS enabled site
pfh.RegisterTemplateOverride(); //CSR-override for MDS disabled site (because we need to call the entry point function in this case whereas it is not needed for anonymous functions)
I am using the above script to render the items.
I am new to the CSR.
Where do i need to include your script in my script.
Please help on this.
Thank you for reply sagar.
Please note that i am not using content search webpart. -
The Transform Each Effect: more flexibility is needed please...
Is this really wishful thinking?
Hi,
I was reveiwing recently an episode on AdobeTV with Colin Smith regarding a very neat trick applying a style with Illustrator and repeating business cards on the same page. Very cool idea and way of using that effect indeed. I particularly like the fact that you can store and save that effect as a style so you can use it over and over again.
http://tv.adobe.com/watch/no-stupid-questions-with-colin-smith/illustrator-business-cards/
A question came up to my mind about an issue and some possible limitations of this "Effect", since it can only resize objetcs by entering % values but nowhere can one can enter numeric values instead. Of course you can perform that task with the "Transform Pannel" but you cannot do it with the "Transform Each Effect". Let's say that you have many logos on a page that you would like to reduce/enlarge to a certain width or height for each one as 2" width for example, you would have to do the math first to figure our what would be the % and then transfer this result in % to the "Transform Each Effect" so it can do the task.
In such a case, you cannot use the "Transform Panel" to reduce all the logos at the same time to a individual width of 2" because Illustrator then consider the width of all the logos globally or as a "Group" but not each one of them. So you would end up with the wrong result. And, going futher with the math would means further steps and maybe involves then other "Trial an error" tests before acheiving what you are looking for.
For a better understanding, please view the above video where the author explain and debates quite clearly that point::
http://youtu.be/V4-Ee9mJAOA
Like the author says at the end of in his video, you can always make a small "Action Script" but it involves more steps andfurther testings. So more flexibility is needed here from the "Transform Each Effect" and I tend to agree with the gentlemen on that matter. As you may know, many of us who are involved in production the simple task of rearranging/transforming logos is performed many times for certain projects. By adding this feature to the "Transform Each Panel" would be a great help to us all. Also, just imagine if that feature could then be save as a "Style", what a great time saver it would be for all of us!
I know that you can first rezise one object with the "transform Panel" an then use the the "Transform again" command in order to apply it to the others. But you cannot do it to all at the same time because Illustrator apply that transformation then globally. Also, if the some logos are let's say of various sizes it does not work at all.
Is there another way some of you may know how to do it simpler? Is there a special "Plugin" available with Illustrator that you may know who could perform that type of task?
May I finally point out that i'ts not a matter of doing that small task but the pain rather resides in doing it over and over again. So I do beleive that flexibility is needed here for us all...
Thanking you in advance and looking forward to read you,
Robert Marchand
P.S.:
Sorry, but English is a "Work in progress" in my case...oh yeah. sorry. Two new errors were generated (same
type). ...Yeah, sorry I didn't look closely enough.
May I suggest a different approach? This is far from perfect, but is a big improvement of your current code:public class Inventory
public static void main( String args[] )
Iteminfo[] myItems = new Iteminfo[3];
myItems[0] = new Iteminfo( 01, "Laptop", 15, 2000 );
myItems[1] = new Iteminfo( 02, "Desktop", 25, 1500 );
myItems[2] = new Iteminfo( 03, "Server", 10, 5000 );
System.out.println("Inventory Program Part 2\n\n");
displayItems(myItems);
System.out.printf( "The total of all inventory is: $%.2f. \n\n", getInvTotal(myItems));
System.out.printf( "The sorted inventory list is: ");
sortItemInfo(myItems);
displayItems(myItems);
static void displayItems(Iteminfo[] myItems)
for(int i = 0; i < myItems.length; i++)
System.out.printf("Item "+(i+1)+": \n\n");
myItems.displayInfo();
static double getInvTotal(Iteminfo[] myItems)
double total = 0.0;
// Do the same thing with the for-statement here as
// well, and add everything to the variable total.
return total;
static void sortItemInfo(Iteminfo[] myItems)
// your sort algorithm here
Try to finish it.
Good luck. -
when on Ebay and looking at an auction, the links for 'shipping and payment' and 'read more' (in the item specifics block) do not respond. all other links on auction pages work. and they also work using IE. this is the only website that i have this problem with.
i did a refresh of Firefox, but the problem persists.Hello,
'''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
'''If Firefox is open,''' you can restart in Firefox Safe Mode from the Help menu:
* Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
'''If Firefox is not running,''' you can start Firefox in Safe Mode as follows:
* On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* On Mac: Hold the '''option''' key while starting Firefox.
* On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
When the Firefox Safe Mode window appears, select "Start in Safe Mode".
;[[Image:SafeMode-Fx35]]
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
When you figure out what's causing your issues, please let us know. It might help others with the same problem. -
I use No Scripts to block all scripts when i browse. I upgraded to Firefox 8 and noticed that my no scripts was not working. When i checked the addons, it said no script will install when i restart. I have restarted multiple times and it still has not installed. I have tried reinstalling no script, that does nothing. I have reset my extensions.ini and other related files and that did not help. The options to enable/disable the non working no script extension is not available. I basically don't know what else to do. Any help i appreciated.
If you get 'Unable to process the backup file' then there is usuallya problem with the current places.sqlite file.
*https://support.mozilla.org/kb/reset-firefox-easily-fix-most-problems
When you reset Firefox then a new profile is created and some personal data (bookmarks, history, cookies, passwords, form data) is automatically imported and the current profile folder will be moved to the desktop to an "Old Firefox Data" folder.
Installed extensions and other customizations (toolbars, prefs) that you have made are lost and need to be redone.
In what way did Firefox behave 'wonky'?
You can check for problems with the <b>places.sqlite</b> database file in the Firefox profile folder.
*http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
*https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
*Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/ -
Why will new Photos ap on mac not email? No "email" pulldown -shows "more" for extensions which has Outlook checked but does me no good.
I am struggling with the same problem. I have two HP 4100dtn printers on ethernet. Each has a manually assigned IP address. I can set up the printer(s) just fine in the Print & Fax Preference and Snow Leopard finds the printer just fine when I enter the IP address and chooses the correct HP Driver.
When I try to print, my print job appears in the queue as expected, than an error appears that something about a "bad command". Sorry, I'm home right now and don't have direct access to the printer so I can't give you the precise language of the message, but the gist of the message is that the system tried to connect to the printer to send the print data but the printer does not know how to respond to the command that was sent.
It's as if the firmware in the 4100 just doesn't have something in it's lexicon that Snow Leopard needs. The HP web site is no help. One page I found says the printer is supported (http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&obje ctID=c01664444&jumpid=regR1002USEN ) and another page I found says that it is not supported (http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&obje ctID=c01879014&jumpid=regR1002USEN). The HP on line chat won't let me log in and hold a chat with HP unless I know the Serial Number of the printer, which I don't have here at home.
More to follow tomorrow.
Anyone have any ideas? -
Blog issues: duplicating pages / read more
Hello - thanks in advance to all the great helpers out there.
1) using Blog pages as an announcement vehicle for son's school. Each class has a "blog" where I will post parent announcements. I have one set up exactly as needed with font, colors, etc. Cannot duplicate blog page. Apple confirmed. So can I easily save as a template and then make the other NINE class pages or do I have to do each one separately (ARGH!), which is huge pain in rear due to no grouping and no pasting of styles.
2) Any way to get the "Read More" link off? Many of the "blog entries" are straightforward announcements that are only two to three lines etc. I have the summary blog page showing the whole entry so there is no need for a parent to click to "Read More". But the "Read More" link still there. (Double ARGH!)
I really like using the iWeb blog functionality this way and I intend to hand off maintaining site to other parents so I can't really go the "embed a blog from wordpress" route etc.
Thank you for any great ideas!
LizLiz ~ Many people post problems here having just one iWeb blog — and you're setting up nine blogs for other parents to maintain?! ...It's okay to set up a system that's likely to be difficult to maintain if you're the one who's going to maintain it. But when those other parents start having problems, they'll likely wonder why you set it up that way. It's also restricting to require that the other parents have a Mac running Leopard and iLife '09 and that they pass iWeb's Domain file around to each other.
LizMacBook wrote:
I intend to hand off maintaining site to other parents so I can't really go the "embed a blog from wordpress" route etc.
Why not? ...You just set up a web-based email address, e.g. [email protected] (telling the other parents the email's password) and then use that email address when you register a new web-based blog, at say Posterous or WordPress, etc. (Again, telling the other parents the blog's userid & password.)
Here's an old forum thread posted by someone who wisely doubted that iWeb's blog was a good choice and has had success with a WordPress blog:
_To blog or not to blog_
And to link to an external blog from iWeb's navbar:
Create a blank internal page titled "Blog" (Actually you can name the page whatever you want.) Then in that Blog page add an HTML Snippet with the following code:
<script type="text/javascript">
parent.window.location = "http://www.yourblogname.com"; // change this to your own URL
</script>
...Once published, clicking on "Blog" in the navbar will immediately redirect to your external Blog page. (Thanks to Cyclosaurus for the code).
Also, for your particular needs, there may be better web-based alternatives such as Ning. A single Ning site has:
Blogs for Every Member — Enable blogging for every member of your social network. Display everyone's blog posts as a tab or just feature specific blog posts on your network's Main page via our unique Feature displays.
...So you could have just one Ning site with nine tabs for the nine class blogs. And Ning has many more community features that you'd probably find useful.
By the way, something's not right with your Public Profile: +"Mac OS X (10.4.8) iWeb 09"+ — iLife '09 requires 10.5.6 (Leopard) or later. See here. -
How do you change the "read more ..." in the Blog page to something else?
I'd like to change the "read more ..." in the Blog page to say something more relevant to my site. How can this be done?
I searched the forums and found an earlier response to this question, but I don't quite understand it:
Find index.xml.gz file (open: Macintosh HD ->
Applications -> iWeb -> Contents -> Resources -> e.g.
English.lproj -> Templates -> Blog -> e.g. White
Blog.webtemplate -> index.xml.gz).
Open file and edit it in TextEdit. Replace all "read
more..." with your own text. Delete index.xml.gz file.
I'm a little confused by this reply. To open the index.xml.gz file within the app, do you navigate there with Terminal.app, unzip it, edit the file with Text Edit, then re-gzip it?
Second, why do you delete index.xml.gz afterwards?
And third, will this need to be redone each time iWeb is upgraded?
Has anyone tried this and know if this is the correct way to change the words, or is there some other way?This tedious process actually edits the template xml file within the iWeb application, so that it becomes the default with the template. I haven't done this before, so I'm the wrong person to advise on this.
I tend to like to do things that are on a simpler scale. You can always make a text box with an opaque background color that matches the blog template background. Then type something else into that text box, like "click here to see more of me" Then position this text box over the standard "read more" and link the text to the blog entry.
The downside....you'll have to do this (at least position the text box and change the link) each time you add an entry. -
Hi wondering if anyone might be able to help me out. I am an audio engineer and my wife is a voiceover artist. We just got the ipad thinking she could record her voiceover auditions on the go, but we can't for the life of us figure out how to record audio while reading a script off of her email.
Looking for an app that:
Either can record audio while in the background (garageband cannot)
OR Import text (copy paste I guess?) to read while recording
The app needs to be able to edit audio and export or email out an MP3 - by edit audio I mean trim, fades, and move around sections.
Anyone have any thoughts on how to do this? I have been looking around the web for answers for hours and can't find any. Thanks in advance for your help.Hi- I've done a lot of research in this area and actually am just finishing a book on this subject which will soon be in the iBookstore.
The best app is TwistedWave. It allows easy editing and recording, and also allows you record while you are in another app (such as a script your agent sent in your email)
I recommend MiC by Apogee as your microphone, available at the Apple store.
My book which goes in depth in how to get the best sound as well as how to edit is called:
iVoiceover
Super. Simple. Recording.
I'll post here when it's live in the iBookstore! -
Hide navigation pane of adobe reader through scripting
Hi.. I'm looking for a script to hide the navigation pane of the adobe reader through scripting, is there any way I can achieve that?
my main objective is to restrict user from attaching a file by using navigation pane because I'm already giving buttons to attach a file on the pdf and I want user to attach a file ONLY using buttons on the pdf. Can I achieve this by any other way?
Thanks in advance.
SunaifHi,
you can hide all panes with this script in the docReady:event.
event.target.viewState = {overViewMode:1};
More examples:
http://thelivecycle.blogspot.com/2010/04/xfa-form-control-view-settings.html -
Why am I missing URLs for "read more" entries
No matter what I do, I cannot get the URLs, that are the files for the "Read More"on my blog entries, to copy to my remote server site.
I can see which ones they are but when I try to drag them to the Server Site independently but the server won't accept them.
And so, after publishing, you can see my 'home page" of the blog, but when you click on "Read More" it says, Safari cannot find the file (that URL).
I'm publishing (or trying to publish) to my web files on my Earthlink server.
Sure would appreciate help.
ElaineTurns out... Earthlink will not allow files with longer than 30 some characters and the iweb file I needed was 40 some characters so I downloaded Fetch and can now upload the files I need.
-
Examples of a 'read more' button implementaion wanted
I'm looking for examples of how to implement 'read more' buttons with Flex 3. I'd like examples of as many ways these buttons are implemented, but I really want both the drop-down text window and pop-up text window.
You could also use viewStates, maybe this example will work for you.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:states>
<mx:State name="viewFull">
<mx:RemoveChild target="{text1}"/>
<mx:RemoveChild target="{button1}"/>
<mx:AddChild relativeTo="{titlewindow1}" position="lastChild">
<mx:TextArea text="{myText}" width="100%" height="250" />
</mx:AddChild>
<mx:AddChild relativeTo="{titlewindow1}" position="lastChild">
<mx:Button label="Less" click="currentState=''" />
</mx:AddChild>
</mx:State>
</mx:states>
<mx:Script>
<![CDATA[
[Bindable]
private var myText:String="Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent aliquam, justo convallis luctus rutrum, erat nulla fermentum diam, at nonummy quam ante ac quam. Maecenas urna purus, fermentum id, molestie in, commodo porttitor, felis. Nam blandit quam ut lacus. Quisque ornare risus quis ligula. Phasellus tristique purus a augue condimentum adipiscing. Aenean sagittis. Etiam leo pede, rhoncus venenatis, tristique in, vulputate at, odio. Donec et ipsum et sapien vehicula nonummy. Suspendisse potenti. Fusce varius urna id quam. Sed neque mi, varius eget, tincidunt nec, suscipit id, libero. In eget purus. Vestibulum ut nisl. Donec eu mi sed turpis feugiat feugiat. Integer turpis arcu, pellentesque eget, cursus et, fermentum ut, sapien. Fusce metus mi, eleifend sollicitudin, molestie id, varius et, nibh. Donec nec libero.";
]]>
</mx:Script>
<mx:TitleWindow x="127" y="97" width="70%" height="400" id="titlewindow1">
<mx:Text text="{myText.substr(1,100)}" x="258" y="134" id="text1"/>
<mx:Button label="More" click="currentState='viewFull'" id="button1"/>
</mx:TitleWindow>
</mx:Application> -
I have an error message that reads: java.lang.noclassdefFounder - need to fix can anyone help?
That's a bug in whatever Java program you're running.
That's not an error specific to OS X.
(There's usually a whole lot more text dumped by Java, too.)
Check with whoever wrote or is supporting the package you're working with.
Maybe you are looking for
-
How can i (de)activate a single option in an option field programmatically?
To deactivate a control in the front panel i can use the deactivate property node. Can i also deactivate single options in an option field or in a menu this way?
-
Hi, I want to make use of Transaction of 'MD03' (MRP) Program 'SAPMM61X',from my program. shall I use call transaction to do this? this program is a module pool, not an executable program. here I want to pass the plant value to the selection screen a
-
Import addresses from Address Book to Word documents - Possible?
I've searched discussions, manuals and the lot, but I can find no definitive to question - 'can I use my Address Book addresses to merge into Word letters?' If so, how? Or do I have to retype them all into an Excel sheet or Outlook? Help please!
-
.....
-
Getting Hot! Can't download iTune 7 & Apple is not helping me
Just got off the phone with Apple Support and he seemed pretty unwilling to help. Added a little "comment" about my "PC". Here's the problem. My boys and daughter have iPod Videos and Nanos and we have iTunes on the computer. Never had any problems s