Hi I am trying to load a single page of my WordPress site into a Codeigniter project. But without using iframe. Is it possible?
Ajax call into particular div element ? Or html object tag.. ?
<object style="(width and height in pixels)" type="text/html" data="http://my-wpsite.com" typemustmatch="typemustmatch">
<param name="data" value="http://my-wpsite.com">
Object unavailable at this moment.
</object>
Related
I've created a form which I want to open in a fancybox (iframe). To prevent bots from filling out the forms I want to use reCaptcha. For reCaptcha I'm using the ASP.net implementation, but the problem also occurs when I'm using the javascript implementation.
Now, the reCaptcha form is showing and working on the page which I want to open inside my fancybox. But when I open the page inside my fancybox, the form is visible but the reCaptcha isn't being rendered.
When I view the source of the page I only see the following:
<noscript>
<iframe src="http://www.google.com/recaptcha/api/noscript?k=xxxx" width="500" height="300" frameborder="0">
</iframe><br /><textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea><input name="recaptcha_response_field" value="manual_challenge" type="hidden" />
I have a Drupal 6 installation with a Wysiwyg profile set up to use TinyMCE. The profile has the media button turned on. I have defined the Filtered HTML input format to allow the <embed>, <object>, and <param> tags and made this the default format for all roles. When you use the media button (the thing that looks like a couple frames of film) and enter a url, code like the following is generated and visible in the source:
<object width="100" height="100" data="http://youtu.be/wEWSHWp5vHM" type="application/x-shockwave-flash">
<param name="data" value="http://youtu.be/wEWSHWp5vHM" />
<param name="src" value="http://youtu.be/wEWSHWp5vHM" />
</object>
However, when you preview or save the post, the video is not rendered.
Here is the list of allowed tags:
<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><form><input><br><p><div><span><img><h1><h2><h3><h4><h5><h6><table><tr><td><thead><th><tbody><iframe><embed><object><param>
Anybody have any idea what I'm doing wrong? I found this recent post that seems to imply that you need to set TinyMCE to not use media_strict, but I can't believe you have to add a homebrew module to get embedding to work: http://drupal.org/node/368388#comment-5501684
What happens when you try embedding using 'Full HTML Filter'? You might also create a whole new input filter type for this content type.
net mvc 3. I want to display the pdf file as a part of aspx page for preview purpose.
i don't want to use IFrame control. can we do this ?
I know you said no frames, but Google PDF viewer seems to be the most popular:
<iframe src="http://docs.google.com/gview?url=http://example.com/mypdf.pdf&embedded=true"
style="width:718px; height:700px;" frameborder="0"></iframe>
And you can try:
<embed src="http://yoursite.com/the.pdf" width="500" height="375">
Best Way to Embed PDF in HTML
I just built a flex applcation with AS3 only.. the generated swf will expand as much as browser's window..I wish to reduce the dimension of swf file...any ideas?? Thanks..
You may need to specify your swf dimensions eg:
[SWF(width="640", height="480")]
If you're viewing it directly in your browser, you should embed your swf inside an html document and specify the dimensions of your swf.
If this is for a public facing website, I'd recommend using SwfObject.js. Or if you aren't comfortable with Javascript you can use the object tag:
<object width="640" height="480">
<param name="movie" value="your_file.swf">
<embed id="embed" src="your_file.swf" width="640" height="480"></embed>
</object>
While designing a master page i am adding a number of images to it.
I have an image tag inside the master page,
<img src="../../Content/Images/img19.jpg" class="profileImage" />
When i run my app, the image doesn't show up in the browser because the src path in the page that browser gets is same as in the master page.
ie. "../../Content/Images/img19.jpg"
But it should have been "Content/Images/img19.jpg"
If i correct the src path in master page as
<img src="Content/Images/img19.jpg" class="profileImage" />
Then I can see the image in the browser but not in design mode.
Any help is appreciated.
Use Asp Images
<asp:Image ID="Image1" runat="server" ImageUrl="~/Content/Pictures/xxx.png" />
You will see images in design mode and when you publish Pages too.
It should work fine if you use a leading slash:
<img src="/Content/Images/img19.jpg" class="profileImage" />
For other situations, you can convert a virtual (relative) path to an application absolute path using Url.Convert, such as
Url.Content("~/Content/Images/img19.jpg");