English 中文(简体)
Fancy Box change url
原标题:Fancybox change url

我有爱心。 我想这样说,当你点击了它打开了带有更大形象的老板箱的图像,然后在盒子里发表评论和其他uff。 但是,我希望每个图像/图像箱都有自己的ur,以便人们能够分享联系和 st。 任何关于如何这样做的想法?

预 收

最佳回答

仅使用租赁箱作为违约。 当相关活动出现时,操纵了电离层层层和轮胎箱,并只是对评论和 st。

问题回答

You can change the url in the browser with HTML5 history. https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history

然后,在全页的负荷上,你能够用窗户接手。 为适应你们的需要,对OMS进行定位和修改。

There are kinda two ways:
1. like Facebook does: http://spoiledmilk.dk/blog/html5-changing-the-browser-url-without-refreshing-page
2. like Twitter does:
you can access and change the #-part of url using location.hash
//example.com/
location.hash = foo ; //becomes example.com/#foo

我会这样做,为此制作一个带图像的硬拷贝,例如outputimage.php?id=123,然后将图像、评论和x的html输出。 这份书状可以打上 j子,要求他人从书状中提取,然后将其放在正轨上。

另一页称为<代码>image.php?id=,该网页再次以图像为背面,并使用<代码>outputimage.php,在单独的网页布局中显示html。 之后,这页将是你独立的布局。





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签